getVersion method

  1. @override
Future<V2TimValueCallback<String>> getVersion()
override

获取版本号

Implementation

@override
Future<V2TimValueCallback<String>> getVersion() async {
  return V2TimValueCallback<String>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'getVersion',
        buildTimManagerParam(
          {},
        ),
      ),
    ),
  );
}