2024-05-18 09:37:50 +08:00

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;
}
}