build method
Implementation
@override
Map<String, Object?> build() => {
if (isEnabled != null) 'enabled': isEnabled,
if (channels != null)
'channels': [
for (final channel in channels!)
{
'channel_id': channel.channelId.toString(),
'description': channel.description,
'emoji_id': channel.emojiId?.toString(),
'emoji_name': channel.emojiName,
},
],
if (!identical(description, sentinelString)) 'description': description,
};