getKeys method

List<String> getKeys ()

An array containing all keys, or an empty array if the document has no properties.

Implementation

List<String> getKeys() {
  if (_data != null) {
    return _data.keys.toList();
  } else {
    return List<String>();
  }
}