toMap method
Implementation
Map<String, dynamic> toMap() => {
"settings": settings?.toMap(),
"emailSettings": emailSettings?.toMap(),
"checkoutSettings": checkoutSettings?.toMap(),
"status": status,
"countryCallingCode": countryCallingCode,
"businessTag": businessTag,
"settlementSettings": settlementSettings,
"isKYCApproved": isKycApproved,
"isBlocked": isBlocked,
"_id": id,
"name": name,
"businessType": businessType,
"email": email,
"country": country,
"mobile": mobile,
"businessKey": businessKey,
"createdAt": createdAt?.toIso8601String(),
"updatedAt": updatedAt?.toIso8601String(),
};