menu
studyu_core package
documentation
core.dart
SupabaseObjectFunctions<T extends SupabaseObject> class
SupabaseObjectFunctions<T extends SupabaseObject> class
dark_mode
light_mode
SupabaseObjectFunctions<
T extends SupabaseObject
>
class
abstract
Implemented types
SupabaseObject
Implementers
AppConfig
Repo
Study
StudyInvite
StudySubject
StudyUUser
SubjectProgress
Constructors
SupabaseObjectFunctions
()
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
primaryKeys
→
Map
<
String
,
Object
>
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
delete
(
)
→
Future
<
T
>
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save
(
{
bool
onlyUpdate
=
false
})
→
Future
<
T
>
Save the object to the database. By default, this will upsert the object, i.e. insert it if it does not exist, or update it if it does. If
onlyUpdate
is set to true, the object has to exist in the database, otherwise the result will be empty.
toJson
(
)
→
Map
<
String
,
dynamic
>
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
Static Methods
fromJson
<
T extends
SupabaseObject
>
(
Map
<
String
,
dynamic
>
json
)
→ T
studyu_core package
documentation
core
SupabaseObjectFunctions<T extends SupabaseObject> class
core library