withCustomSerializers function
Expression
withCustomSerializers(
- Expression serializersExpression,
- Set<
Expression> customSerializers
Implementation
Expression withCustomSerializers(
Expression serializersExpression,
Set<Expression> customSerializers,
) =>
customSerializers.fold(
serializersExpression,
(exp, serializer) => exp.cascade("add").call([serializer]),
);