AnywhereCache.fromJson constructor

AnywhereCache.fromJson(
  1. Map json_
)

Implementation

AnywhereCache.fromJson(core.Map json_)
    : this(
        admissionPolicy: json_.containsKey('admissionPolicy')
            ? json_['admissionPolicy'] as core.String
            : null,
        anywhereCacheId: json_.containsKey('anywhereCacheId')
            ? json_['anywhereCacheId'] as core.String
            : null,
        bucket: json_.containsKey('bucket')
            ? json_['bucket'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? core.DateTime.parse(json_['createTime'] as core.String)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        pendingUpdate: json_.containsKey('pendingUpdate')
            ? json_['pendingUpdate'] as core.bool
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        ttl: json_.containsKey('ttl') ? json_['ttl'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? core.DateTime.parse(json_['updateTime'] as core.String)
            : null,
        zone: json_.containsKey('zone') ? json_['zone'] as core.String : null,
      );