toJson method

Map toJson()

Implementation

Map toJson() => {"protocol": protocol, "version": version};