mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
17 lines
320 B
Dart
17 lines
320 B
Dart
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,
|
|
};
|
|
}
|