DiscoveryLegacy class

This class is used for discovery_b64 legacy structures

Inheritance
Annotations
  • @MyJsonSerializable()

Constructors

DiscoveryLegacy.new(Uint8List byteArray)

Properties

byteArray Uint8List
The source byte used for constructing this class
finalinherited
companyAbbreviation → StringValue
final
dateCode → StringValue
final
defaultGateway → AddressValue
final
discoveryDataMap Map<String, dynamic>
For backwards compatibility, this property provides the same data as the getDiscoveryDataMap function that can be found in the Java library provided by Zebra.
finalinherited
discoveryVersion → ByteValue
The version of the discovery_b64 message. 3 = legacy 4= advanced
finalinherited
error bool
This property returns true when one or more values have an error.
no setterinherited
fwVersion → StringValue
final
getCommunityName → HexValue
final
hashCode int
The hash code for this object.
no setterinherited
hwAddress → HexValue
final
ipAddress → AddressValue
final
items List<ValueBase>
This property lists all values in this class and is used as the source for the error property.
no setteroverride
notUsed1 → NotUsedValue
These bytes are not used, or don't have any known function
finalinherited
notUsed2 → NotUsedValue
final
notUsed3 → NotUsedValue
final
portName → StringValue
final
portStatus → EnumValue<PrinterPortStatus>
final
productName → StringValue
final
productNumber → StringValue
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serialNum → StringValue
final
setCommunityName → HexValue
final
subnetMask → AddressValue
final
systemName → StringValue
final
usingNetProtocol → BoolValue
final

Methods

initMap() → void
This function adds al relevant items to the discoveryDataMap
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Add a way to convert this class to Json
override
toString() String
A string representation of this object.
inherited

Operators

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