fromJson static method
Inherited by: CallServerTypeTelegramReflector CallServerTypeWebrtc
Implementation
static CallServerTypeTelegramReflector? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return CallServerTypeTelegramReflector(
peerTag: (json['peer_tag'] as String?) ?? '',
isTcp: (json['is_tcp'] as bool?) ?? false,
);
}