mobile_skt/lib/models/auth.dart

16 lines
274 B
Dart
Raw Normal View History

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