readFromMap abstract method Null safety

void readFromMap(
  1. Map<String, dynamic> object
)

Reads values from object.

Use read instead of this method. read applies filters to object before calling this method.

This method is used by implementors to assign and use values from object for its own purposes. SerializableExceptions should be thrown when object violates a constraint of the receiver.

Implementation

void readFromMap(Map<String, dynamic> object);