serialize abstract method

Object? serialize(
  1. DartType fieldType,
  2. String expression
)

expression may be just the name of the field or it may an expression representing the serialization of a value.

Implementation

Object? serialize(DartType fieldType, String expression);