toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return ({
    'title': title,
    'filter_key': filterKey,
    'previous_applied': previousApplied.map((e) => e.toMap()).toList(),
    'filter_options': filterOptions.map((e) => e.toMap()).toList(),
  });
}