getServerTime method

Future<V2TimValueCallback<int>> getServerTime()

获取服务器当前时间

Implementation

Future<V2TimValueCallback<int>> getServerTime() async {
  return V2TimValueCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'getServerTime',
        buildParam(
          {},
        ),
      ),
    ),
  );
}