SendCallRating.fromMap constructor
Implementation
SendCallRating.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
call_id = map['call_id'];
rating = map['rating'];
comment = map['comment'];
if (map['problems'] != null) {
problems = [];
for (var someValue in map['problems']) {
if (someValue != null) {
problems?.add(TdApiMap.fromMap(someValue) as CallProblem);
}
}
}
}