toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = {};
  data['url'] = url;
  data['icon_name'] = iconName;
  data['icon_class'] = iconClass;
  data['package'] = package;
  return data;
}