when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult user(
    1. ModerationCauseSourceUser data
    ),
  2. required TResult list(
    1. ModerationCauseSourceList data
    ),
  3. required TResult labeler(
    1. ModerationCauseSourceLabeler data
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(ModerationCauseSourceUser data) user,
  required TResult Function(ModerationCauseSourceList data) list,
  required TResult Function(ModerationCauseSourceLabeler data) labeler,
}) =>
    throw _privateConstructorUsedError;