JsonTypeEncoder typedef

JsonTypeEncoder = dynamic Function(Object)

A function capable of encoding an object of a given type. If the function cannot decode the particular object, it should return null.

Implementation

typedef JsonTypeEncoder = dynamic Function(Object);