read abstract method

Object? read(
  1. Object? document, {
  2. Object? orElse()?,
})

Reads the referenced value from the document. If no value is referenced, gets the value from orElse or throws BadRoute.

Implementation

Object? read(Object? document, {Object? Function()? orElse});