Password class

Represents a password, which is the result of PasswordService.generatePassword It can be obtained with password as List<String> or with toString as String entropy is the bits of entropy calculated from size of collection items and password length .

Constructors

Password(List<String> password, num numberOfCollectionItems, [String separator = ''])
Constructor for a password.

Properties

entropy double
Number of bits of entropy in the password.
no setter
hashCode int
The hash code for this object.
no setteroverride
password List<String>
Password components as a list of Strings.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separator String
Separator placed between components for the password as a single String.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Password components concatenated together with separator between them.
override

Operators

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