WorldScript class

One world: its file, and what to call it.

Constructors

WorldScript(String path, {String? name, String? description})
const

Properties

description → String?
What it sets up, in a sentence or two — who is in it, and what state they start in.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
What worlds open takes: the file's name without .dart.
no setter
name → String?
What the studio and worlds list call it; the file's name as words, Pickup order, when not given.
final
path → String
Relative to the package, /-separated. tool/worlds/ is the place to keep them: they are scripts the project runs, not code it ships.
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
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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