You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
771 B
31 lines
771 B
class AuthenticationData {
|
|
final int? authenticationCode;
|
|
final String? authenticationName;
|
|
final String? miId;
|
|
final int? status;
|
|
|
|
AuthenticationData({
|
|
this.authenticationCode,
|
|
this.authenticationName,
|
|
this.miId,
|
|
this.status,
|
|
});
|
|
|
|
factory AuthenticationData.fromJson(Map<String, dynamic> json) {
|
|
return AuthenticationData(
|
|
authenticationCode: json['authenticationCode'] as int?,
|
|
authenticationName: json['authenticationName'] as String?,
|
|
miId: json['miId'] as String?,
|
|
status: json['status'] as int?,
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
return {
|
|
'authenticationCode': authenticationCode,
|
|
'authenticationName': authenticationName,
|
|
'miId': miId,
|
|
'status': status,
|
|
};
|
|
}
|
|
}
|