remove method

List<T> remove(
  1. String key
)

Returns the record stored under key and deleted it from the log.

Implementation

List<T> remove(String key) => _data.remove(key) ?? <T>[];