toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"method_title": methodTitle,
"method_id": methodId,
"total": total,
"total_tax": totalTax,
"taxes": List<dynamic>.from(taxes!.map((x) => x)),
"meta_data": List<dynamic>.from(metaData!.map((x) => x.toJson())),
};