maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult create(
    1. RecordStockCreateState value
    )?,
  2. TResult persisted(
    1. RecordStockPersistedState value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(RecordStockCreateState value)? create,
  TResult Function(RecordStockPersistedState value)? persisted,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;