maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult static(
    1. String type,
    2. StaticChunkingStrategy static
    )?,
  2. TResult other(
    1. String type
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String type, StaticChunkingStrategy static)? static,
  TResult Function(String type)? other,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;