GetLogMetricRequest.fromJson constructor

GetLogMetricRequest.fromJson(
  1. 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),
    },
  );
}