fromJson static method

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

Implementation

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

  return AuthenticationCodeTypeSmsPhrase(
    firstWord: (json['first_word'] as String?) ?? '',
  );
}