fromJson static method
Inherited by: NotificationTypeNewCall NotificationTypeNewMessage NotificationTypeNewPushMessage NotificationTypeNewSecretChat
Implementation
static NotificationTypeNewCall? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return NotificationTypeNewCall(
callId: (json['call_id'] as int?) ?? 0,
);
}