factory ProtocolVersion.fromJson(Map<String, dynamic> json) { return ProtocolVersion(major: json["major"], minor: json["minor"]); }