CacheObject class
Cache Object class to Handle Data
- Inheritance
-
- Object
- JSONObject
- CacheObject
Constructors
-
CacheObject(Map<
String, dynamic> _data)
Properties
Methods
-
getBoolValue(
String key, {bool defaultValue = false}) → bool -
inherited
-
getData(
) → Map< String, dynamic> -
override
-
getDoubleValue(
String key, {double defaultValue = 0}) → double -
inherited
-
getIntValue(
String key, {int defaultValue = 0}) → int -
inherited
-
getOnly(
List< String> keys) → Map<String, dynamic> -
Returns Map with specified Keys in
List<String> keys
inherited -
getStringValue(
String key, {String defaultValue = ""}) → String -
inherited
-
hasData(
) → bool - CacheObject has Data
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setData(
Map< String, dynamic> data) → dynamic -
inherited
-
setValue(
String key, dynamic value) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
{List< String> ? optionalValidator}) → bool -
Validates Data
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited