ManagedZoneOperationsListResponse.fromJson constructor

ManagedZoneOperationsListResponse.fromJson(
  1. Map json_
)

Implementation

ManagedZoneOperationsListResponse.fromJson(core.Map json_)
    : this(
        header: json_.containsKey('header')
            ? ResponseHeader.fromJson(
                json_['header'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        operations: json_.containsKey('operations')
            ? (json_['operations'] as core.List)
                .map((value) => Operation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );