SupaValue<B extends SupaCore, T, J> constructor
const
SupaValue<B extends SupaCore, T, J> ({
- required T value,
- required String name,
- required J valueToJSON(
- T value
- required T valueFromJSON(
- J value
Represents a value that is stored within a record from a Supabase table.
B
is the core class for the table.
T
is the type of the value after conversion from the JSON.
J
is the type of the value before conversion from the JSON.
Implementation
const SupaValue({
required this.value,
required this.name,
required this.valueToJSON,
required this.valueFromJSON,
});