Internet class
Constructors
- Internet(RandomGenerator random)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- random → RandomGenerator
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disposableEmail(
) → String -
Generates a disposable email from the userName method
and
_disposibleHosts
. -
domainName(
) → String -
Generates a domain name from the domainWord method and
_domainSuffixes
. -
domainWord(
) → String - Generates a domain word.
-
email(
) → String - Generates an email from the userName and domainName methods.
-
freeEmail(
) → String -
Generates a free email from the userName method and
_hosts
. -
httpsUrl(
) → String - Generates a https url.
-
httpUrl(
) → String - Generates a http url.
-
ipv4Address(
) → String - Generates a IP version 4 address.
-
ipv6Address(
) → String - Generates a IP version 6 address.
-
macAddress(
) → String - Generates a MAC address.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
password(
{int length = 10}) → String -
Generates a password with the given
length
if provided. If not providedlength
is 10. -
safeEmail(
) → String -
Generates a safe email from userName method and
_domainSuffixes
. -
toString(
) → String -
A string representation of this object.
inherited
-
uri(
String protocol) → String -
Generates a URI with the given
protocol
. -
userAgent(
{String osName = ''}) → String -
Generates an User Agent from Predefined Dictionary
with the given
osName
if provided. if not providedosName
is an empty String or''
-
userName(
) → String - Generates a user name.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited