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