TextEntity.fromMap constructor
Implementation
TextEntity.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
offset = map['offset'];
length = map['length'];
if (map['type'] != null) {
type = TdApiMap.fromMap(map['type']) as TextEntityType;
}
}