MetricS7 class

Inheritance

Constructors

MetricS7({required MetricS7MemoryAreaEnum memoryArea, required num memoryAddress, required MetricS7DataTypeEnum dataType, num? dataBlockAddress, int? stringLength, int? bitOffset})
Returns a new MetricS7 instance.

Properties

bitOffset int?
Required when BIT data type is used
getter/setter pair
dataBlockAddress num?
Required when DATA_BLOCK memory area is used
getter/setter pair
dataType MetricS7DataTypeEnum
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
memoryAddress num
Minimum value: 0
getter/setter pair
memoryArea MetricS7MemoryAreaEnum
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringLength int?
Required when STRING data type is used
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromJson(dynamic value) MetricS7?
Returns a new MetricS7 instance and imports its values from value if it's a Map, null otherwise.
override
listFromJson(dynamic json, {bool growable = false}) List<MetricS7>?
mapFromJson(dynamic json) Map<String, MetricS7>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<MetricS7>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.