toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json['calculations'] = calculations;
if (createdAt != null) {
json['created_at'] = createdAt!.toIso8601String();
}
if (id != null) {
json['id'] = id;
}
json['quote_id'] = quoteId;
return json;
}