ListDirectoryPeopleResponse.fromJson constructor

ListDirectoryPeopleResponse.fromJson(
  1. Map json_
)

Implementation

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