factory ProtocolHandler.fromJson(Map<String, dynamic> json) { return ProtocolHandler( protocol: json['protocol'] as String, url: json['url'] as String, ); }