GoogleLongrunningListOperationsResponse.fromJson constructor

GoogleLongrunningListOperationsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleLongrunningListOperationsResponse.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        operations: _json.containsKey('operations')
            ? (_json['operations'] as core.List)
                .map<GoogleLongrunningOperation>((value) =>
                    GoogleLongrunningOperation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );