toModel method

Map<String, Object?> toModel()

Implementation

Map<String, Object?> toModel() {
  return {'action': action, 'icon': icon, 'title': title}.cleanBools();
}