mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-10 03:57:49 +08:00
refa: article (#757)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
16
lib/models/dynamics/opus_detail/remote.dart
Normal file
16
lib/models/dynamics/opus_detail/remote.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
class Remote {
|
||||
String? bfsStyle;
|
||||
String? url;
|
||||
|
||||
Remote({this.bfsStyle, this.url});
|
||||
|
||||
factory Remote.fromJson(Map<String, dynamic> json) => Remote(
|
||||
bfsStyle: json['bfs_style'] as String?,
|
||||
url: json['url'] as String?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'bfs_style': bfsStyle,
|
||||
'url': url,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user