SharedPreferencesDataSource class
Implementasi LensDataSource untuk Flutter SharedPreferences.
Satu koleksi preferences dengan kolom key, type, value.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceId → String
-
no setteroverride
- sourceName → String
-
no setteroverride
- sourceType → SourceType
-
no setteroverride
Methods
-
allRows(
String collection) → Future< List< Map< >String, dynamic> > -
Ambil semua baris (untuk ekspor).
override
-
collections(
) → Future< List< String> > -
override
-
columnNames(
String collection) → Future< List< String> > -
Nama kolom untuk header tabel UI.
override
-
count(
String collection) → Future< int> -
override
-
identityColumns(
String collection) → Future< List< String> > -
Kolom yang dipakai sebagai identitas baris saat diffing riwayat.
Default kosong — tracker fallback ke full-row identity.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rows(
String collection, int limit, int offset) → Future< List< Map< >String, dynamic> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCell(
String collection, String column, Object? newValue, Map< String, dynamic> row) → Future<void> -
Perbarui nilai satu sel. Implementasi spesifik per engine.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- collectionName → const String
-
columns
→ const List<
String>