mapKeyIterable property

Iterable<String> mapKeyIterable

Get an iterable for keys if the underlying flexBuffer value is a map. Otherwise throws an exception.

Implementation

Iterable<String> get mapKeyIterable {
  if (isMap == false) {
    throw UnsupportedError('Value is not a map. It is: $_valueType');
  }
  return _MapKeyIterator(this);
}