fromJson static method
Implementation
static GroupCallVideoQuality? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
switch (json['@type']) {
case GroupCallVideoQualityFull.constructor:
return GroupCallVideoQualityFull.fromJson(json);
case GroupCallVideoQualityMedium.constructor:
return GroupCallVideoQualityMedium.fromJson(json);
case GroupCallVideoQualityThumbnail.constructor:
return GroupCallVideoQualityThumbnail.fromJson(json);
default:
return null;
}
}