toJson method

Map<String, dynamic> toJson()

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,
  };
}