SearchOrganizationsResponse.fromJson constructor

SearchOrganizationsResponse.fromJson(
  1. Map json_
)

Implementation

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