find method

  1. @override
Future<NodeDescriptor?> find(
  1. NodeId id
)
override

Returns the node with id, or null.

Implementation

@override
Future<NodeDescriptor?> find(NodeId id) async {
  final json = _store.readObject(id.value);
  return json == null ? null : NodeDescriptor.fromJson(json);
}