fromJson static method

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

Implementation

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

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