toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final maxInstances = this.maxInstances;
final minInstances = this.minInstances;
final weight = this.weight;
return {
'maxInstances': ?maxInstances,
'minInstances': ?minInstances,
'weight': ?weight,
};
}