ResourceFieldSelector.fromJson constructor
Creates a ResourceFieldSelector from JSON data.
Implementation
factory ResourceFieldSelector.fromJson(Map<String, dynamic> json) {
final tempContainerNameJson = json['containerName'];
final tempDivisorJson = json['divisor'];
final tempResourceJson = json['resource'];
final String? tempContainerName = tempContainerNameJson;
final String? tempDivisor = tempDivisorJson;
final String tempResource = tempResourceJson;
return ResourceFieldSelector(
containerName: tempContainerName,
divisor: tempDivisor,
resource: tempResource,
);
}