getVersion method

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

获取版本号

Implementation

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