ReqMacAddr class

Convenience validator for required MAC Addresses.

It is the composition between Req and MacAddr.

Constructors

ReqMacAddr({String? blank, String? mal})
Non-blank and well-formed MAC Addresses.

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 a non-blank, well-formed MAC Address; otherwise, returns the blank error message if mac is null, or the malformed error message if mac is malformed.
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