mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 00:26:18 +08:00
12 lines
202 B
Dart
12 lines
202 B
Dart
class Area {
|
|
int? id;
|
|
String? name;
|
|
|
|
Area({this.id, this.name});
|
|
|
|
factory Area.fromJson(Map<String, dynamic> json) => Area(
|
|
id: json['id'] as int?,
|
|
name: json['name'] as String?,
|
|
);
|
|
}
|