ListOperationsResponse.fromJson constructor

ListOperationsResponse.fromJson(
  1. Map _json
)

Implementation

ListOperationsResponse.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((value) => Operation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );