ListContactGroupsResponse.fromJson constructor

ListContactGroupsResponse.fromJson(
  1. Map json_
)

Implementation

ListContactGroupsResponse.fromJson(core.Map json_)
    : this(
        contactGroups: json_.containsKey('contactGroups')
            ? (json_['contactGroups'] as core.List)
                .map((value) => ContactGroup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        nextSyncToken: json_.containsKey('nextSyncToken')
            ? json_['nextSyncToken'] as core.String
            : null,
        totalItems: json_.containsKey('totalItems')
            ? json_['totalItems'] as core.int
            : null,
      );