maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult script(
    1. Script field0
    )?,
  2. TResult create(
    1. Create field0
    )?,
  3. TResult mint(
    1. Mint field0
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(Script field0)? script,
  TResult Function(Create field0)? create,
  TResult Function(Mint field0)? mint,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;