Position.fromJson constructor
Position.fromJson(
- Map json_
Implementation
Position.fromJson(core.Map json_)
: this(
x: json_.containsKey('x')
? (json_['x'] as core.num).toDouble()
: null,
y: json_.containsKey('y')
? (json_['y'] as core.num).toDouble()
: null,
z: json_.containsKey('z')
? (json_['z'] as core.num).toDouble()
: null,
);