toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final maxCapacity = this.maxCapacity;
  final minCapacity = this.minCapacity;
  return {
    'MaxCapacity': maxCapacity,
    'MinCapacity': minCapacity,
  };
}