MetricValue.fromJson constructor

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

Implementation

factory MetricValue.fromJson(Map<String, dynamic> json) {
  return MetricValue(
    amount: json['Amount'] as String?,
    unit: json['Unit'] as String?,
  );
}