26 lines
553 B
Dart
Executable File
26 lines
553 B
Dart
Executable File
class FaceAuthenticationEntity {
|
|
FaceAuthenticationEntity({
|
|
this.description,
|
|
this.errorCode,
|
|
this.errorMsg,
|
|
});
|
|
|
|
FaceAuthenticationEntity.fromJson(dynamic json) {
|
|
description = json['description'];
|
|
errorCode = json['errorCode'];
|
|
errorMsg = json['errorMsg'];
|
|
}
|
|
|
|
String? description;
|
|
int? errorCode;
|
|
String? errorMsg;
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final map = <String, dynamic>{};
|
|
map['description'] = description;
|
|
map['errorCode'] = errorCode;
|
|
map['errorMsg'] = errorMsg;
|
|
return map;
|
|
}
|
|
}
|