SupaTable<B extends SupaCore, R extends SupaRecord<B>> constructor

const SupaTable<B extends SupaCore, R extends SupaRecord<B>>(
  1. R recordFromJSON(
    1. Map<String, dynamic> json
    ), {
  2. required String tableName,
  3. required List<String> primaryKey,
  4. required SupabaseClient supabaseClient,
  5. String schema = 'public',
})

Represents a table in the Supabase database.

Implementation

const SupaTable(
  this.recordFromJSON, {
  required this.tableName,
  required this.primaryKey,
  required this.supabaseClient,
  this.schema = 'public',
});