toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() {
  return {
    'icon': icon,
    'channelId': channelId,
    'channelName': channelName,
    'color': color,
    'autoCancelable': autoCancelable,
  };
}