SearchDirectGroupsResponse.fromJson constructor

SearchDirectGroupsResponse.fromJson(
  1. Map json_
)

Implementation

SearchDirectGroupsResponse.fromJson(core.Map json_)
    : this(
        memberships: json_.containsKey('memberships')
            ? (json_['memberships'] as core.List)
                .map((value) => MembershipRelation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );