getDartDevelopmentServiceVersion method

Future<Version> getDartDevelopmentServiceVersion()

The getDartDevelopmentServiceVersion RPC is used to determine what version of the Dart Development Service Protocol is served by a DDS instance.

The result of this call is cached for subsequent invocations.

Implementation

Future<Version> getDartDevelopmentServiceVersion() async {
  if (_ddsVersion == null) {
    _ddsVersion =
        await _callHelper<Version>('getDartDevelopmentServiceVersion');
  }
  return _ddsVersion;
}