build method
Returns built response for api
Implementation
@override
RawApiMap build() => {
if (name != null) "name": name,
if (type != null) "type": type!._value,
if (topic != null) "topic": topic,
if (bitrate != null) "bitrate": bitrate,
if (userLimit != null) "user_limit": userLimit,
if (rateLimitPerUser != null) "rate_limit_per_user": rateLimitPerUser,
if (position != null) "position": position,
if (parentChannel != null) "parent_id": parentChannel!.id.toString(),
if (nsfw != null) "nsfw": nsfw,
if (overrides != null) "permission_overwrites" : overrides!.map((e) => e.build()),
if (rtcRegion != "") "rtc_region": rtcRegion,
};