Position class Null safety

本地用户在房间内的位置坐标

需自行建立空间直角坐标系

Constructors

Position({int x = 0, int y = 0, int z = 0})

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
x ↔ int
x 坐标
read / write
y ↔ int
y 坐标
read / write
z ↔ int
z 坐标
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object. [...]
inherited

Operators

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