fromMap static method
override
Construct from Map.
Implementation
static SendPhoneNumberVerificationCode? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var phone_number = _map['phone_number']! as String;
var settings = PhoneNumberAuthenticationSettings.fromMap(_map['settings']);
return SendPhoneNumberVerificationCode(
extra: extra,
clientId: clientId,
phone_number: phone_number,
settings: settings,
);
}