Group.fromJson constructor

Group.fromJson(
  1. Map json_
)

Implementation

Group.fromJson(core.Map json_)
    : this(
        contentDetails: json_.containsKey('contentDetails')
            ? GroupContentDetails.fromJson(json_['contentDetails']
                as core.Map<core.String, core.dynamic>)
            : null,
        errors: json_.containsKey('errors')
            ? Errors.fromJson(
                json_['errors'] as core.Map<core.String, core.dynamic>)
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        snippet: json_.containsKey('snippet')
            ? GroupSnippet.fromJson(
                json_['snippet'] as core.Map<core.String, core.dynamic>)
            : null,
      );