SecureONPassword class

Constructors

SecureONPassword(String password, {String delimiter = ':'})
Creates a new SecureONPassword instance with the given password. The SecureON password is validated on construction and will throw an exception on an invalid password.
factory

Properties

bytes List<int>
final
delimiter String
final
hashCode int
The hash code for this object.
no setterinherited
password String
final
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

validate(String? password, {String delimiter = ':'}) → ({Object? error, bool state})
Validate that a password is correctly formatted by matching the password against a regular expression. By default the delimiter between each hex octet is expected to be a colon (:).