Chunk class

Below is Tiled's documentation about how this structure is represented on XML files:

Constructors

Chunk({required List<int> data, required int x, required int y, required int height, required int width})
Chunk.parse(Parser parser, FileEncoding encoding, Compression? compression)
factory

Properties

data List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileData List<List<Gid>>
This is not part of the tiled definitions; this is just a convinient wrapper over the data field that simplifies two things:
getter/setter pair
width int
getter/setter pair
x int
getter/setter pair
y int
getter/setter pair

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