ZipperExt<ZR, ZI extends ZR, ZS extends ZR> extension

on
  • ZipperLocation<ZR, ZI, ZS>

Methods

canGoDown() bool

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

canGoLeft() bool

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

canGoRight() bool

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

canGoUp() bool

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

commit() → ZR

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

Return the root node of this zipper, thereby "applying" any changes made.
find(ZR node) → ZipperLocation<ZR, ZI, ZS>?

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

Navigate to the supplied node, which is presumed to be a child in the tree of this zipper. Returns null if the node is not found.
findWhere(bool predicate(dynamic)) → ZipperLocation<ZR, ZI, ZS>?

Available on ZipperLocation<ZR, ZI, ZS>, provided by the ZipperExt extension

Navigate to the node that satisfies predicate. Returns null if no such node is not found.