AuthenticationCodeInfo.fromMap constructor
Implementation
AuthenticationCodeInfo.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
phone_number = map['phone_number'];
if (map['type'] != null) {
type = TdApiMap.fromMap(map['type']) as AuthenticationCodeType;
}
if (map['next_type'] != null) {
next_type = TdApiMap.fromMap(map['next_type']) as AuthenticationCodeType;
}
timeout = map['timeout'];
}