sizeOf method

  1. @override
int sizeOf(
  1. String key
)
override

separate interface to get list size of given key

Implementation

@override
int sizeOf(String key) {
  final l = _data._data[key] as List?;
  return l?.length ?? 0;
}