maybeWhen<TResult extends Object?> method

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

Implementation

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