remove abstract method

Future<Optional<T>> remove(
  1. String id,
  2. Function deserialize
)

It finds the Entity for the given Id and removes it. If no Entity can be found for the given Id an empty result is returned.

@param id the Id of the Entity to be removed @return the removed Entity if found or an empty result if not

Implementation

Future<Optional<T>> remove(String id, Function deserialize);