maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult postView(
    1. PostView data
    )?,
  2. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(PostView data)? postView,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;