Dog class
- Inheritance
- Available extensions
- Annotations
Properties
- goodBoy → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hp → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → ArtifactModelExporter
-
Available on Animal, provided by the $Animal extension
no setter - to → ArtifactModelExporter
-
Available on Dog, provided by the $Dog extension
no setter
Methods
-
copyWith(
{int? hp, bool resetHp = _F, int? deltaHp}) → Animal -
copyWith(
{int? hp, bool resetHp = _F, int? deltaHp, bool? goodBoy, bool resetGoodBoy = _F}) → Dog -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited