class Auth { String? token; Auth({this.token}); Auth.fromJson(Map json) { token = json['token']; } Map toJson() { final Map data = {}; data['token'] = token; return data; } }