drift method

Future<Drift?> drift(
  1. String id
)

How far id has drifted, or null if nothing was declared for it.

A read: it plans and runs nothing. A node declared by a blueprint is asked directly and answers in changes; one declared by steps is planned Hub-side from its advertised capabilities and answers in actions.

Implementation

Future<Drift?> drift(String id) async {
  final json = await _optional(() => get('/nodes/$id/drift'));
  return json == null ? null : Drift.fromJson(json);
}