toJsonForProtocol method
Returns a JSON structure of the model, optimized for Protocol communication.
Implementation
@override
Map<String, dynamic> toJsonForProtocol() {
return {
'__className__': 'ComputeCatalogInfo',
'computes': computes.toJson(valueToJson: (v) => v.toJsonForProtocol()),
'defaultCompute': defaultCompute.toJson(),
'scaling': scaling.toJsonForProtocol(),
};
}