removeDeserializer<T extends Object> method

JsonDeserializerOf<T>? removeDeserializer<T extends Object>([
  1. bool removeAssociatedListDeserializer = true
])

Implementation

JsonDeserializerOf<T>? removeDeserializer<T extends Object>([
  bool removeAssociatedListDeserializer = true,
]) {
  assert(T != dynamic);
  if (removeAssociatedListDeserializer) {
    _deserializers.remove(List<T>);
  }
  return _deserializers.remove(T) as JsonDeserializerOf<T>?;
}