MarkCode class
Код маркировки в машиночитаемой форме, представленный в виде одного из видов кодов, формируемых в соответствии с требованиями, предусмотренными правилами, для нанесения на потребительскую упаковку, или на товары, или на товарный ярлык.
- Inheritance
-
- Object
- BaseRequest
- MarkCode
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- MarkCode({required MarkCodeType markCodeType, required String value})
- Создает экземпляр rод маркировки в машиночитаемой форме
-
MarkCode.fromJson(Map<
String, dynamic> json) -
Преобразование json в модель
factory
Properties
-
equals
→ Map<
String, Object?> -
Comparison objects
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- markCodeType → MarkCodeType
-
Тип штрих кода. Возможные значения:
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Код маркировки
final
Methods
-
compareLists<
R> (List< R> ? list1, List<R> ? list2) → bool -
Determines whether
list1
andlist2
are equal.inherited -
copyWith(
{MarkCodeType? markCodeType, String? value}) → MarkCode -
Создает экземпляр с заданными параметрами
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