anchor.diff:  typedef T DeserializeFn<T>(Object rawData);
   typedef Object SerializeFn<T>(T modelObj);
   
  -class ResourceCollection<T> implements Collection<T> {
  +class ResourceCollection<T> implements List<T> {
     final Resource<T> resource;
     bool loaded = false;
     OnChangeFn onChangeFn = null;
  
positive.code:         onChangeFn(this);
        }
      });
    }
  
    void add(T value) {
  
negative.code:   DeserializeFn<T> deserializeFn = null;
    SerializeFn<T> serializeFn = JSON.stringify;
  
    List<T> _collection = [];
    List<T> get collection => new List.from(_collection);
  
    ResourceCollection(this.resource);
  
  