whenOrNull<TResult extends Object?> method

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

Implementation

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