ProtocolVersion.fromJson constructor

ProtocolVersion.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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