toMethodChannelArguments method

Map<String, dynamic> toMethodChannelArguments()

Convert this object to a map that can be sent to the method channel

Implementation

Map<String, dynamic> toMethodChannelArguments() {
  return {
    'channelId': channelId,
    'channelName': channelName,
    'channelDescription': channelDescription,
    'icon': icon,
  };
}