MarkQuantity class

Реквизит «дробное количество маркированного товара».

MarkQuantity

Inheritance
Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

MarkQuantity({required int numerator, required int denominator})
Создает экземпляр реквизита «дробное количество маркированного товара».
MarkQuantity.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

denominator int
Знаменатель дробной части предмета расчета. Значение равно количеству товара в партии (упаковке), имеющей общий код маркировки товара
final
equals Map<String, Object?>
Comparison objects
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
numerator int
Числитель дробной части предмета расчета. Значение должно быть строго меньше значения реквизита «знаменатель».
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compareLists<R>(List<R>? list1, List<R>? list2) bool
Determines whether list1 and list2 are equal.
inherited
copyWith({int? numerator, int? denominator}) MarkQuantity
Создает экземпляр с заданными параметрами
override
genHash<R>(Iterable<R>? values) int
Returns a hashCode for equals.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Преобразование модели в json
override
toString() String
A string representation of this object.
inherited
validate() → void
Метод проверяет валидность данных
override

Operators

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