ContainerResourceMetricSource.fromJson constructor
Creates a ContainerResourceMetricSource from JSON data.
Implementation
ContainerResourceMetricSource.fromJson(Map<String, dynamic> json)
: this(
container: json['container'],
name: json['name'],
target: MetricTarget.fromJson(json['target']),
);