time method

Future<Timetoken> time()
inherited

Get current timetoken value from the PubNub network.

Implementation

Future<Timetoken> time() async {
  return defaultFlow<TimeParams, Timetoken>(
      core: this,
      params: TimeParams(),
      serialize: (object, [_]) => Timetoken(BigInt.parse('${object[0]}')));
}