ListServicePerimetersResponse.fromJson constructor

ListServicePerimetersResponse.fromJson(
  1. Map json_
)

Implementation

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