PhoneNumberError.fromJson constructor
Implementation
factory PhoneNumberError.fromJson(Map<String, dynamic> json) {
return PhoneNumberError(
errorCode: (json['ErrorCode'] as String?)?.toErrorCode(),
errorMessage: json['ErrorMessage'] as String?,
phoneNumberId: json['PhoneNumberId'] as String?,
);
}