EntertainmentConfigurationPosition.fromJson constructor
Creates a EntertainmentConfigurationPosition object from the JSON response to a GET request.
Implementation
factory EntertainmentConfigurationPosition.fromJson(
Map<String, dynamic> dataMap) {
return EntertainmentConfigurationPosition(
x: dataMap[ApiFields.x] ?? 0.0,
y: dataMap[ApiFields.y] ?? 0.0,
z: dataMap[ApiFields.z] ?? 0.0,
);
}