build method
Implementation
@override
@Deprecated('Use TriggerMetadataBuilder instead')
Map<String, Object?> build() => {
'keyword_filter': keywordFilter,
'regex_patterns': regexPatterns,
'presets': presets?.map((type) => type.value).toList(),
'allow_list': allowList,
'mention_total_limit': mentionTotalLimit,
'mention_raid_protection_enabled': isMentionRaidProtectionEnabled,
};