RecordStockCreateState class abstract

Implemented types

Constructors

RecordStockCreateState({required StockRecordEntryType entryType, bool loading, required String projectId, DateTime? dateOfRecord, String? primaryType, String? primaryId, FacilityModel? facilityModel, StockModel? stockModel})
const
factory

Properties

copyWith → _$$RecordStockCreateStateImplCopyWith<_$RecordStockCreateStateImpl>
no setteroverride
dateOfRecord DateTime?
no setteroverride
entryType StockRecordEntryType
no setteroverride
facilityModel → FacilityModel?
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
loading bool
no setter
primaryId String?
no setteroverride
primaryType String?
no setteroverride
projectId String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stockModel StockModel?
no setteroverride

Methods

map<TResult extends Object?>({required TResult create(RecordStockCreateState value), required TResult persisted(RecordStockPersistedState value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? create(RecordStockCreateState value)?, TResult? persisted(RecordStockPersistedState value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult create(RecordStockCreateState value)?, TResult persisted(RecordStockPersistedState value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult create(StockRecordEntryType entryType, bool loading, String projectId, DateTime? dateOfRecord, String? primaryType, String? primaryId, FacilityModel? facilityModel, StockModel? stockModel)?, TResult persisted(StockRecordEntryType entryType, String projectId, DateTime? dateOfRecord, FacilityModel? facilityModel, String? primaryType, String? primaryId, StockModel? stockModel)?, 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 create(StockRecordEntryType entryType, bool loading, String projectId, DateTime? dateOfRecord, String? primaryType, String? primaryId, FacilityModel? facilityModel, StockModel? stockModel), required TResult persisted(StockRecordEntryType entryType, String projectId, DateTime? dateOfRecord, FacilityModel? facilityModel, String? primaryType, String? primaryId, StockModel? stockModel)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? create(StockRecordEntryType entryType, bool loading, String projectId, DateTime? dateOfRecord, String? primaryType, String? primaryId, FacilityModel? facilityModel, StockModel? stockModel)?, TResult? persisted(StockRecordEntryType entryType, String projectId, DateTime? dateOfRecord, FacilityModel? facilityModel, String? primaryType, String? primaryId, StockModel? stockModel)?}) → TResult?
inherited

Operators

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