Profile class abstract

The most basic object to identify user of Tempcord.

Implementers
Annotations
  • @immutable

Constructors

Profile(String name, Animal animal)
Construct Profile with given name and animal.

Properties

animal Animal
Animal type of this Profile.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
User name of this Profile.
no setter
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
updateAnimal(Animal animal) Profile
Return a Profile with updated animal.
updateName(String name) Profile
Return a Profile with updated name.

Operators

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