toJson method
Implementation
Map<String, dynamic> toJson() => {
"submission_method": submissionMethod == null ? null : submissionMethod,
"submission_data":
submissionData == null ? null : submissionData?.toJson(),
"submission_url": submissionUrl == null ? null : submissionUrl,
"emi_list": emiList == null
? null
: List<dynamic>.from(emiList!.map((x) => x.toJson())),
};