remove method

JsonRow? remove(
  1. T key
)

Removes the JsonRow with the specified key from the list. Returns the removed JsonRow, or null if the key is not found.

Implementation

JsonRow? remove(T key) => _table.detachItems((e) => e[keyName] == key).singleOrNull;