toJson method
Implementation
Map<String, dynamic> toJson() {
final bytesPerHour = this.bytesPerHour;
final strategy = this.strategy;
return {
if (bytesPerHour != null) 'BytesPerHour': bytesPerHour,
if (strategy != null) 'Strategy': strategy,
};
}