Update
This commit is contained in:
@@ -13,7 +13,7 @@ class CheckPhoneDto with _$CheckPhoneDto {
|
||||
factory CheckPhoneDto.fromJson(Map<String, dynamic> json) =>
|
||||
_$CheckPhoneDtoFromJson(json);
|
||||
CheckPhone toDomain() => CheckPhone(
|
||||
status: status ?? '',
|
||||
status: status?.toCheckPhoneStatus() ?? CheckPhoneStatus.unknown,
|
||||
message: message ?? '',
|
||||
phoneNumber: data?.phoneNumber ?? '',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user