map<TResult extends Object?> method

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

Implementation

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