ServicePerimeter.fromJson constructor
ServicePerimeter.fromJson(
- Map json_
Implementation
ServicePerimeter.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
perimeterType: json_.containsKey('perimeterType')
? json_['perimeterType'] as core.String
: null,
spec: json_.containsKey('spec')
? ServicePerimeterConfig.fromJson(
json_['spec'] as core.Map<core.String, core.dynamic>)
: null,
status: json_.containsKey('status')
? ServicePerimeterConfig.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
useExplicitDryRunSpec: json_.containsKey('useExplicitDryRunSpec')
? json_['useExplicitDryRunSpec'] as core.bool
: null,
);