fromJson static method
Inherited by: AuthenticationCodeTypeCall AuthenticationCodeTypeFirebaseAndroid AuthenticationCodeTypeFirebaseIos AuthenticationCodeTypeFlashCall AuthenticationCodeTypeFragment AuthenticationCodeTypeMissedCall AuthenticationCodeTypeSms AuthenticationCodeTypeSmsPhrase AuthenticationCodeTypeSmsWord AuthenticationCodeTypeTelegramMessage
Implementation
static AuthenticationCodeTypeSmsPhrase? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return AuthenticationCodeTypeSmsPhrase(
firstWord: (json['first_word'] as String?) ?? '',
);
}