canEncodeCustom<T> method

  1. @override
bool canEncodeCustom<T>()
override

Checks if the encoder can encode the custom type T.

When this method returns true, the encodeObject method can be called with the type T.

Implementation

@override
bool canEncodeCustom<T>() {
  return _parent.canEncodeCustom<T>();
}