PlatformPolicy.fromJson constructor

PlatformPolicy.fromJson(
  1. Map json_
)

Implementation

PlatformPolicy.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        gkePolicy: json_.containsKey('gkePolicy')
            ? GkePolicy.fromJson(
                json_['gkePolicy'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );