discontinuedPackage powerd6 has been discontinued.

Item class

A physical item that exists and optionally has effects.

Constructors

Item({required String name, required Paragraph description, Paragraph? effects, Map<Currency, int>? cost})

Properties

cost → Map<Currency, int>?
final
description → Paragraph
final
effects → Paragraph?
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
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.
override