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