2024-03-18 13:23:58 +08:00
|
|
|
class Auth {
|
|
|
|
String? token;
|
|
|
|
|
2024-03-19 08:59:08 +08:00
|
|
|
Auth({this.token});
|
2024-03-18 13:23:58 +08:00
|
|
|
|
|
|
|
Auth.fromJson(Map<String, dynamic> json) {
|
|
|
|
token = json['token'];
|
|
|
|
}
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
final Map<String, dynamic> data = Map<String, dynamic>();
|
|
|
|
data['token'] = token;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|