UpdateNotification.fromMap constructor

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

Implementation

UpdateNotification.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  notification_group_id = map['notification_group_id'];
  if (map['notification'] != null) {
    notification = TdApiMap.fromMap(map['notification']) as Notification;
  }
}