build method
override
Implementation
@override
Map<String, Object?> build() => {
if (!identical(nick, sentinelString)) 'nick': nick,
if (roleIds != null) 'roles': roleIds!.map((e) => e.toString()).toList(),
if (isMute != null) 'mute': isMute,
if (isDeaf != null) 'deaf': isDeaf,
if (!identical(voiceChannelId, sentinelSnowflake)) 'channel_id': voiceChannelId?.toString(),
if (!identical(communicationDisabledUntil, sentinelDateTime)) 'communication_disabled_until': communicationDisabledUntil?.toIso8601String(),
if (flags != null) 'flags': flags!.value,
};