Operation.fromJson constructor

Operation.fromJson(
  1. Map json_
)

Implementation

Operation.fromJson(core.Map json_)
    : this(
        dnsKeyContext: json_.containsKey('dnsKeyContext')
            ? OperationDnsKeyContext.fromJson(
                json_['dnsKeyContext'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        user: json_.containsKey('user') ? json_['user'] as core.String : null,
        zoneContext: json_.containsKey('zoneContext')
            ? OperationManagedZoneContext.fromJson(
                json_['zoneContext'] as core.Map<core.String, core.dynamic>)
            : null,
      );