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