beforeEncode method

  1. @override
Object? beforeEncode(
  1. Object? value
)
override

Receives the decoded value before encoding.

Implementation

@override
Object? beforeEncode(Object? value) {
  if (value is! VectorDefinition) {
    return value;
  }
  return value.toDisplayString();
}