toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() {
  return {
    "title": title,
    "text": text,
    "channelId": channelId,
    "channelName": channelName,
    "channelDescription": channelDescription
  };
}