This repository has been archived on 2023-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
imagini/web_native/lib/models/api/response/login_response.dart

20 lines
447 B
Dart

class LoginResponse {
final String success;
final String error;
final String deviceUUID;
LoginResponse(this.success, this.error, this.deviceUUID);
LoginResponse.fromJson(Map<String, dynamic> json)
: success = json['success'],
error = json['error'],
deviceUUID = json['deviceUUID'];
Map<String, dynamic> toJson() =>
{
'success': success,
'error': error,
'deviceUUID': deviceUUID,
};
}