toMap method

  1. @override
Map<String, dynamic> toMap()
override

Converts object to map.

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'title': title,
    'titleRes': titleRes,
    'subtitle': subtitle,
    'subtitleRes': subtitleRes,
    'icon': icon,
    'iconRes': iconRes,
    'type': type,
  };
}