realtime_client library Null safety

Classes

Binding
PostgresColumn
RealtimeClient
RealtimeSubscription

Functions

convertCell(String type, String? stringValue) → dynamic
If the value of the cell is null, returns null. Otherwise converts the string value to the correct type. [...]
convertChangeData(List<Map<String, dynamic>> columns, Map<String, dynamic> records, {List<String>? skipTypes}) Map
Takes an array of columns and an object of string values then converts each string value to its mapped type. [...]
convertColumn(String columnName, List<PostgresColumn> columns, Map<String, dynamic> records, List<String> skipTypes) → dynamic
Converts the value of an individual column. [...]
noop(String? stringValue) String?
toArray(String type, String stringValue) List
Converts a Postgres Array into a native JS array [...]
toBoolean(String? stringValue) bool?
toDate(String stringValue) DateTime
toDateRange(String stringValue) List<DateTime>
toDouble(String stringValue) double
toInt(String stringValue) int
toIntRange(String stringValue) List<int>
toJson(String stringValue) → dynamic
toTimestampString(String stringValue) String
Fixes timestamp to be ISO-8601. Swaps the space between the date and time for a 'T' See https://github.com/supabase/supabase/issues/18 [...]

Enums

PostgresTypes

Typedefs

Callback = void Function(dynamic payload, {String? ref})