Rock class
Contains data and knowledge about a specific rock type.
Constructors
- Rock(String name, String image, String description)
-
A const constructor.
const
Properties
- description → String
-
A description of the rock.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String
-
The path to the image of the rock.
final
- name → String
-
The name of the rock.
final
- 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited