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