ReplaceServicePerimetersRequest.fromJson constructor

ReplaceServicePerimetersRequest.fromJson(
  1. Map json_
)

Implementation

ReplaceServicePerimetersRequest.fromJson(core.Map json_)
    : this(
        etag: json_.containsKey('etag') ? json_['etag'] 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,
      );