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