when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult mentionRule(
- MentionRule data
- required TResult followingRule(
- FollowingRule data
- required TResult listRule(
- ListRule data
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(MentionRule data) mentionRule,
required TResult Function(FollowingRule data) followingRule,
required TResult Function(ListRule data) listRule,
required TResult Function(Map<String, dynamic> data) unknown,
}) =>
throw _privateConstructorUsedError;