Group.fromJson constructor

Group.fromJson(
  1. Map json_
)

Implementation

Group.fromJson(core.Map json_)
    : this(
        adminCreated: json_.containsKey('adminCreated')
            ? json_['adminCreated'] as core.bool
            : null,
        aliases: json_.containsKey('aliases')
            ? (json_['aliases'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        directMembersCount: json_.containsKey('directMembersCount')
            ? json_['directMembersCount'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : 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,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        nonEditableAliases: json_.containsKey('nonEditableAliases')
            ? (json_['nonEditableAliases'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );