PortRange class

A port range which is inclusive of the min and max values.

Values are between 0 and 2^16-1. The max can be equal / must be not smaller than the min value. If min and max are equal this indicates that it is a single port.

Constructors

PortRange.new({String? max, String? min})
PortRange.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
max String?
Maximum port value.
getter/setter pair
min String?
Minimum port value.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Operators

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