PrintModel class

A model class for printing data

Annotations

Constructors

PrintModel({required String printRefNo, required bool savePrintData, required List<PrintRowModel> data})
A model class for printing data
const
PrintModel.fromJson(String source)
from json
factory
PrintModel.fromMap(Map<String, dynamic> map)
to map
factory

Properties

data List<PrintRowModel>
Array of print lines
final
hashCode int
The hash code for this object.
no setteroverride
printRefNo String
Unique reference number from Billing App
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savePrintData bool
Set this parameter to save the Print Data at Plutus Smart Device. Default value is TRUE
final

Methods

copyWith({String? printRefNo, bool? savePrintData, List<PrintRowModel>? data}) PrintModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
to json
toMap() Map<String, dynamic>
to map
toString() String
A string representation of this object.
override

Operators

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