ContainerResourceMetricStatus.fromJson constructor

ContainerResourceMetricStatus.fromJson(
  1. Map<String, dynamic> json
)

Creates a ContainerResourceMetricStatus from JSON data.

Implementation

ContainerResourceMetricStatus.fromJson(Map<String, dynamic> json)
    : this(
        container: json['container'],
        current: MetricValueStatus.fromJson(json['current']),
        name: json['name'],
      );