UpdateServiceNotification.fromMap constructor

UpdateServiceNotification.fromMap(
  1. Map<String, dynamic> map
)

Implementation

UpdateServiceNotification.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  type = map['type'];
  if (map['content'] != null) {
    content = TdApiMap.fromMap(map['content']) as MessageContent;
  }
}