SSCCUnitDto class
- Available extensions
- Annotations
-
- @freezed
Constructors
- SSCCUnitDto.new({@JsonKey(includeToJson: false) required String unitId, @ItemIdTypeJsonConverter() required ItemIdType idType, @JsonKey(includeToJson: false) required String unitVersion, required String otherStructure, required String processStep, @JsonKey(includeToJson: false) required DateTime createdAt, required String packingLevel, required String user, required SourceIdentifier sourceIdentifier})
-
constfactory
-
SSCCUnitDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $SSCCUnitDtoCopyWith<
SSCCUnitDto> -
Create a copy of SSCCUnitDto
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- idType → ItemIdType
-
no setterinherited
- otherStructure → String
-
no setterinherited
- packingLevel → String
-
no setterinherited
- processStep → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceIdentifier → SourceIdentifier
-
no setterinherited
- unitId → String
-
no setterinherited
- unitVersion → String
-
no setterinherited
- user → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this SSCCUnitDto to a JSON map.
inherited
-
toSSCCUnit(
{UnitServer? server}) → UnitSSCC -
Available on SSCCUnitDto, provided by the SSCCDtoExtension extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited