PeepGenerator class

A generator which allows to generate a randomized Peep.

Constructors

PeepGenerator({Random? random})
Creates a new instance of PeepGenerator.

Properties

hashCode int
The hash code for this object.
no setterinherited
random Random
The random number generator
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate({PeepAtom? head, PeepAtom? face, PeepAtom? facialHair, PeepAtom? accessory}) Peep
Generates a random peep.
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