maybeWhen<TResult extends Object?> method

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

Implementation

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