GetLogMetricRequest.fromJson constructor
GetLogMetricRequest.fromJson(
- Object? j
Implementation
factory GetLogMetricRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetLogMetricRequest(
metricName: switch (json['metricName']) {
null => '',
Object $1 => decodeString($1),
},
);
}