toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'sheetType': sheetType.rawValue,
'isEnabled': isEnabled,
'jurisdictions': jurisdictions.map(
(k, v) => MapEntry(k.rawValue, v.toMap()),
),
if (paymentMethods != null) 'paymentMethods': paymentMethods,
};
}