fromJson static method

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

Implementation

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

  return GroupCallId(id: (json['id'] as int?) ?? 0);
}