getValue method

Object getValue (String key)

Gets a property's value. The value types are Blob, ArrayObject, DictionaryObject, Number, or String based on the underlying data type; or null if the value is null or the property doesn't exist.

  • Parameter key: The key.
  • Returns: The value or null.

Implementation

Object getValue(String key) {
  if (contains(key)) {
    return _data[key] as Object;
  } else {
    return null;
  }
}