deserializeExtension function

dynamic deserializeExtension(
  1. Type self,
  2. SerialBuffer buffer, {
  3. SerializerState? state,
  4. dynamic allowExtensions = true,
})

Implementation

deserializeExtension(Type self, SerialBuffer buffer, {SerializerState? state, allowExtensions = true}) {
  if (state == null) state = SerializerState();
  return self.extensionOf!.deserialize?.call(self.extensionOf, buffer, state: state, allowExtensions: allowExtensions);
}