EntertainmentConfigurationMetadata.fromJson constructor

EntertainmentConfigurationMetadata.fromJson(
  1. Map<String, dynamic> dataMap
)

Creates a EntertainmentConfigurationMetadata object from the JSON response to a GET request.

Implementation

factory EntertainmentConfigurationMetadata.fromJson(
    Map<String, dynamic> dataMap) {
  return EntertainmentConfigurationMetadata(
    name: dataMap[ApiFields.name] ?? "",
  );
}