EntertainmentConfigurationStreamProxy.fromJson constructor
Creates a EntertainmentConfigurationStreamProxy object from the JSON response to a GET request.
Implementation
factory EntertainmentConfigurationStreamProxy.fromJson(
Map<String, dynamic> dataMap) {
return EntertainmentConfigurationStreamProxy(
mode: dataMap[ApiFields.mode] ?? "",
node: Relative.fromJson(
Map<String, dynamic>.from(dataMap[ApiFields.node] ?? {})));
}