DescribeCustomMetricResponse.fromJson constructor
DescribeCustomMetricResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeCustomMetricResponse.fromJson(Map<String, dynamic> json) {
return DescribeCustomMetricResponse(
creationDate: timeStampFromJson(json['creationDate']),
displayName: json['displayName'] as String?,
lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
metricArn: json['metricArn'] as String?,
metricName: json['metricName'] as String?,
metricType: (json['metricType'] as String?)?.toCustomMetricType(),
);
}