majorVersion property

int majorVersion
final

The major version of the protocol. If the running Dart environment does not support the service protocol, this is 0.

Implementation

final int majorVersion = _getServiceMajorVersion();