PhoneNumberError.fromJson constructor

PhoneNumberError.fromJson(
  1. Map<String, dynamic> json
)

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?,
  );
}