build method
Returns built response for api
Implementation
@override
RawApiMap build() => <String, dynamic>{
"name": name,
if (icon != null) "icon": icon!.getBase64(),
if (verificationLevel != null) "verification_level": verificationLevel,
if (defaultMessageNotifications != null) "default_message_notifications": defaultMessageNotifications,
if (explicitContentFilter != null) "explicit_content_filter": explicitContentFilter,
if (roles != null) "roles": _genIterable(roles!).toList(),
if (channels != null) "channels": _genIterable(channels!).toList(),
if (afkChannelId != null) "afk_channel_id": afkChannelId!.toString(),
if (afkTimeout != null) "afk_timeout": afkTimeout,
if (systemChannelId != null) "system_channel_id": systemChannelId.toString(),
if (systemChannelFlags != null) "system_channel_flags": systemChannelFlags!.value,
};