RecordStockSaveStockDetailsEvent class abstract

Implemented types

Constructors

RecordStockSaveStockDetailsEvent({required StockModel stockModel})
const
factory

Properties

copyWith → _$$RecordStockSaveStockDetailsEventImplCopyWith<_$RecordStockSaveStockDetailsEventImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stockModel StockModel
no setter

Methods

map<TResult extends Object?>({required TResult saveWarehouseDetails(RecordStockSaveWarehouseDetailsEvent value), required TResult saveStockDetails(RecordStockSaveStockDetailsEvent value), required TResult createStockEntry(RecordStockCreateStockEntryEvent value), required TResult saveTransactionDetails(RecordStockSaveTransactionDetailsEvent value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? saveWarehouseDetails(RecordStockSaveWarehouseDetailsEvent value)?, TResult? saveStockDetails(RecordStockSaveStockDetailsEvent value)?, TResult? createStockEntry(RecordStockCreateStockEntryEvent value)?, TResult? saveTransactionDetails(RecordStockSaveTransactionDetailsEvent value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult saveWarehouseDetails(RecordStockSaveWarehouseDetailsEvent value)?, TResult saveStockDetails(RecordStockSaveStockDetailsEvent value)?, TResult createStockEntry(RecordStockCreateStockEntryEvent value)?, TResult saveTransactionDetails(RecordStockSaveTransactionDetailsEvent value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult saveWarehouseDetails(DateTime dateOfRecord, FacilityModel facilityModel)?, TResult saveStockDetails(StockModel stockModel)?, TResult createStockEntry()?, TResult saveTransactionDetails(DateTime dateOfRecord, String primaryType, String primaryId, FacilityModel? facilityModel)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult saveWarehouseDetails(DateTime dateOfRecord, FacilityModel facilityModel), required TResult saveStockDetails(StockModel stockModel), required TResult createStockEntry(), required TResult saveTransactionDetails(DateTime dateOfRecord, String primaryType, String primaryId, FacilityModel? facilityModel)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? saveWarehouseDetails(DateTime dateOfRecord, FacilityModel facilityModel)?, TResult? saveStockDetails(StockModel stockModel)?, TResult? createStockEntry()?, TResult? saveTransactionDetails(DateTime dateOfRecord, String primaryType, String primaryId, FacilityModel? facilityModel)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited