ParseBase class abstract

Constructors

ParseBase()

Properties

createdAt DateTime?
Returns DateTime createdAt
no setter
hashCode int
The hash code for this object.
no setterinherited
objectId String?
Returns String objectId
getter/setter pair
parseClassName String
refers to the Table Name in your Parse Server
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
Returns DateTime updatedAt
no setter

Methods

clearUnsavedChanges() → void
containsKey(String key) bool
containsValue(Object value) bool
copy() → dynamic
Creates a copy of this class
fromJson(Map<String, dynamic> objectData) → dynamic
fromJsonForManualObject(Map<String, dynamic> objectData) → dynamic
fromPin(String objectId) Future
Get item from value storage
get<T>(String key, {T? defaultValue}) → T?
Get a value of type T associated with a given key
getACL() ParseACL
Access the ParseACL governing this object.
isDirty({String? key}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pin() Future<bool>
Saves item to value storage
saveInStorage(String key) Future<void>
Saves in storage
set<T>(String key, T value, {bool forceUpdate = true}) → void
Add a key-value pair to this object.
setACL<ParseACL>(ParseACL acl) → void
Set the ParseACL governing this object.
toJson({bool full = false, bool forApiRQ = false, bool allowCustomObjectId = false}) Map<String, dynamic>
Converts object to String in JSON format
toPointer() Map<String, dynamic>
toString() String
A string representation of this object.
override
unpin({String? key}) Future<bool>
Remove item from value storage

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
operator []=(String key, dynamic value) → void