toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.callAmount != null) {
json[r'callAmount'] = this.callAmount;
} else {
json[r'callAmount'] = null;
}
if (this.callUnit != null) {
json[r'callUnit'] = this.callUnit;
} else {
json[r'callUnit'] = null;
}
if (this.callLabel != null) {
json[r'callLabel'] = this.callLabel;
} else {
json[r'callLabel'] = null;
}
if (this.callType != null) {
json[r'callType'] = this.callType;
} else {
json[r'callType'] = null;
}
return json;
}