Reads the referenced value from the document. If no value is referenced, gets the value from orElse or throws BadRoute.
document
orElse
Object? read(Object? document, {Object? Function()? orElse});