fromJson method
Implementation
@override
UServiceLabel fromJson(Map<String, dynamic> json) {
try {
if (isSelfLabels(json)) {
return UServiceLabel.selfLabels(
data: const SelfLabelsConverter().fromJson(json),
);
}
return UServiceLabel.unknown(data: json);
} catch (_) {
return UServiceLabel.unknown(data: json);
}
}