SupabaseRealtimePayload class

Constructors

SupabaseRealtimePayload({required String commitTimestamp, required String eventType, required String schema, required String table, required Map<String, dynamic>? newRecord, required Map<String, dynamic>? oldRecord, @Deprecated("The new RLS real-time server no longer sends the required data") required List<String> primaryKeys})
SupabaseRealtimePayload.fromJson(Map<String, dynamic> json)
factory

Properties

commitTimestamp String
final
eventType String
'INSERT' | 'UPDATE' | 'DELETE'
final
hashCode int
The hash code for this object.
no setterinherited
newRecord Map<String, dynamic>?
The new record. Present for 'INSERT' and 'UPDATE' events
final
oldRecord Map<String, dynamic>?
The previous record. Present for 'UPDATE' and 'DELETE' events
final
primaryKeys List<String>
List of columns that are set as primary key
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
final
table String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

convertColumnList(List? columns) List<Map<String, dynamic>>