toMap method

Map<String, dynamic> toMap()

Implementation

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