AtsReceptionInput class abstract
- Available extensions
- Annotations
-
- @unfreezed
Constructors
-
AtsReceptionInput({String? id, List<
String> ? ordersIds, List<AtsReceptionProductInput> ? products, String? assetId, @DurationOrNullConverter() Duration? operationTime, @AtsFromAppOrNullConverter() AtsFromApp? app}) -
factory
-
AtsReceptionInput.fromJson(Map<
String, dynamic> json) -
factory
Properties
- app ↔ AtsFromApp?
-
App used to create the AtsReception.
getter/setter pairinherited
- assetId ↔ String?
-
ID of the Asset supply point
getter/setter pairinherited
-
copyWith
→ $AtsReceptionInputCopyWith<
AtsReceptionInput> -
Create a copy of AtsReceptionInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
ID of the AtsReception. This ID is unique.
getter/setter pairinherited
- operationTime ↔ Duration?
-
AtsReception operation time
getter/setter pairinherited
-
ordersIds
↔ List<
String> ? -
List of AtsPurchaseOrder IDs.
getter/setter pairinherited
-
products
↔ List<
AtsReceptionProductInput> ? -
Diferent AtsReceptionProductInput obtained of the AtsPurchaseOrder
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_AtsReceptionInput value)) → TResult -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_AtsReceptionInput value)?) → TResult? -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_AtsReceptionInput value)?, {required TResult orElse()}) → TResult -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String? id, List< String> ? ordersIds, List<AtsReceptionProductInput> ? products, String? assetId, Duration? operationTime, AtsFromApp? app)?, {required TResult orElse()}) → TResult -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AtsReceptionInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String? id, List< String> ? ordersIds, List<AtsReceptionProductInput> ? products, String? assetId, Duration? operationTime, AtsFromApp? app)) → TResult -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String? id, List< String> ? ordersIds, List<AtsReceptionProductInput> ? products, String? assetId, Duration? operationTime, AtsFromApp? app)?) → TResult? -
Available on AtsReceptionInput, provided by the AtsReceptionInputPatterns extension
A variant ofwhenthat fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited