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