toJson method
Implementation
Map<String, dynamic> toJson() {
final commitment = this.commitment;
final renewalType = this.renewalType;
final reservedSlots = this.reservedSlots;
return {
'commitment': commitment.toValue(),
'renewalType': renewalType.toValue(),
'reservedSlots': reservedSlots,
};
}