DnsPeering.fromJson constructor

DnsPeering.fromJson(
  1. Map json_
)

Implementation

DnsPeering.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        targetNetwork: json_.containsKey('targetNetwork')
            ? json_['targetNetwork'] as core.String
            : null,
        targetProject: json_.containsKey('targetProject')
            ? json_['targetProject'] as core.String
            : null,
      );