ParseConfig class
The ParseConfig is a local representation of configuration data that can be set from the Parse dashboard.
Properties
- asMap → dynamic
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isComplete → bool
-
Indicate that this object has been completely fetched.
no setter
- isEmpty → bool
-
Returns true if there is no key/value pair in the map.
no setter
- isNotEmpty → bool
-
Returns true if there is at least one key/value pair in the map.
no setter
-
keys
→ Iterable<
String> -
no setter
- path → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- values → Iterable
-
no setter
Methods
-
fetch(
{bool useMasterKey = false}) → Future< ParseConfig> - Fetch the latest current data from Parse Server
-
get(
String key) → dynamic - Access a value. In most cases it is more convenient to use a helper function such as getString or getInteger.
-
getBoolean(
String key) → bool - Access a bool value.
-
getDateTime(
String key) → DateTime? - Access a DateTime value.
-
getDouble(
String key) → double? - Access a double value.
-
getInteger(
String key) → int? - Access an int value.
-
getList<
T> (String key) → List< T> ? - Access a List value.
-
getMap<
T> (String key) → Map< String, T> ? - Access a Map value.
-
getNumber(
String key) → num? - Access a num value.
-
getParseFile(
String key) → ParseFile? - Access a ParseFile value.
-
getParseGeoPoint(
String key) → ParseGeoPoint? - Access a ParseGeoPoint value.
-
getParseObject(
String key) → ParseObject? - Access a ParseObject value.
-
getParseUser(
String key) → ParseUser? - Access a ParseUser value.
-
getString(
String key) → String? - Access a String value.
-
masterKeyOnly(
String key) → bool - Check if a key is only accessed using masterKey only
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< ParseConfig> -
set(
String key, dynamic value) → void -
Add a key-value pair to this object. It is recommended to name keys in
camelCaseLikeThis
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited