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