read abstract method

T read(
  1. DartObject dartObject
)

Attempts to create an instance of T with information read from the constant represented by dartObject.

Should throw ErrorOf with type argument Decoder with type argument T if an instance of T cannot be read from dartObject.

Implementation

T read(DartObject dartObject);