fromJson static method

ResendCodeReasonVerificationFailed? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static ResendCodeReasonVerificationFailed? fromJson(
  Map<String, dynamic>? json,
) {
  if (json == null) {
    return null;
  }

  return ResendCodeReasonVerificationFailed(
    errorMessage: (json['error_message'] as String?) ?? '',
  );
}