reachableIdsFromDataId function
Returns a set of all IDs reachable from the given data ID.
Includes the given dataId
itself.
Implementation
Set<String> reachableIdsFromDataId(
String dataId,
Map<String, dynamic>? Function(String dataId) read, [
String referenceKey = kDefaultReferenceKey,
]) =>
_idsInObject(read(dataId), read, referenceKey, {})..add(dataId);