MacAddr class
Validator of optional MAC Addresses.
Blank field - null value - is a valid input!
If the MAC address is required, see ReqMacAddr or Req.
Either colon ':' or hyphen '-' can be used as separators. The user should use one or the other, but never mix them in a single written MAC Address.
Examples of valid input:
- 02:42:d5:e7:db:7e ':' as separator
- 11-d4-aa-73-ba-88 '-' as separator
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
String? mac) → String? -
Valid - returns null - if
mac
is either a well-formed MAC Address or null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited