getMetric<T> method
Get a specific metric value
Implementation
T? getMetric<T>(Nip85Metric metric) {
final value = metrics[metric];
if (value is T) return value;
return null;
}
Get a specific metric value
T? getMetric<T>(Nip85Metric metric) {
final value = metrics[metric];
if (value is T) return value;
return null;
}