GroupItem.fromJson constructor

GroupItem.fromJson(
  1. Map json_
)

Implementation

GroupItem.fromJson(core.Map json_)
    : this(
        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,
        groupId: json_.containsKey('groupId')
            ? json_['groupId'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        resource: json_.containsKey('resource')
            ? GroupItemResource.fromJson(
                json_['resource'] as core.Map<core.String, core.dynamic>)
            : null,
      );