lookupPathEx function

Uint8List? lookupPathEx(
  1. List path,
  2. List tree
)

Implementation

Uint8List? lookupPathEx(List path, List tree) {
  final maybeReturn = lookupPath(
    path.map((p) {
      if (p is String) {
        return blobFromText(p).buffer;
      } else {
        return blobFromUint8Array(p).buffer;
      }
    }).toList(),
    tree,
  );
  return maybeReturn;
}