CloudKit class
A Wrapper for CloudKit
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearDatabase(
) → Future< bool> - Deletes the entire user database.
-
delete(
String key) → Future< bool> - Delete a entry from CloudKit using the key.
-
get(
String key) → Future< String?> -
Loads a value from CloudKit by key.
Returns a string
string
with the saved value. This can be null if the key was not found. -
getAccountStatus(
) → Future< CloudKitAccountStatus> - Gets the iCloud account status This is useful to check first if the user is logged in and then trying to save data to the users iCloud
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
String key, String value) → Future< bool> -
Save a new entry to CloudKit using a key and value.
The key need to be unique.
Returns a boolean
bool
with true if the save was successfully. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited