int majorVersion
final

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

Source

final int majorVersion = _getServiceMajorVersion()