status method

  1. @override
Future<Map> status()
override

Query the status endpoint of the replica. This normally has a few fields that corresponds to the version of the replica, its root public key, and any other information made public. @returns A JsonObject that is essentially a record of fields from the status endpoint.

Implementation

@override
Future<Map> status() {
  return _sendAndWait(ProxyMessageStatus.fromJson({
    "id": _nextId++,
    "type": ProxyMessageKind.Status,
  }));
}