SearchResult class

When looking up content within the story (e.g. in Container.ContentAtPath), the result is generally found, but if the story is modified, then when loading up an old save state, then some old paths may still exist. In this case we try to recover by finding an approximate result by working up the story hierarchy in the path to find the closest valid container. Instead of crashing horribly, we might see some slight oddness in the content, but hopefully it recovers!

Constructors

SearchResult()

Properties

approximate bool
getter/setter pair
container Container?
no setter
correctObj RuntimeObject?
no setter
hashCode int
The hash code for this object.
no setterinherited
obj RuntimeObject?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited