serializeExtension function
dynamic
serializeExtension(
- Type self,
- SerialBuffer buffer,
- dynamic data, {
- SerializerState? state,
- dynamic allowExtensions = true,
Implementation
serializeExtension(Type self, SerialBuffer buffer, dynamic data, {SerializerState? state, allowExtensions = true}) {
if (state == null) state = SerializerState();
self.extensionOf!.serialize?.call(self.extensionOf, buffer, data, state: state, allowExtensions: allowExtensions);
}