fromJson static method

NotificationTypeNewCall? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static NotificationTypeNewCall? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return NotificationTypeNewCall(callId: (json['call_id'] as int?) ?? 0);
}