kt_isar 0.0.5 kt_isar: ^0.0.5 copied to clipboard
Provides extension methods to use kt_dart objects for isar operations
Kt Isar #
A litte extension to convert to immutable objects from kt_dart
Features #
KtQuery
Future<KtList> findAllKt()
KtList findAllKtSync()
Future<KtList<KtMap<String, dynamic>>> exportJsonKt()
KtList<KtMap<String, dynamic>> exportJsonKtSync()
KtIsarCollection
Future<KtList> getAllKt(KtList<int>)
KtList getAllKtSync(KtList<int>)
Future<KtList<int>> putAllKt(KtList,...)
KtList<int> putAllKtSync(KtList,...)
Future<int> deleteAllKt(KtList<int>)
int deleteAllKtSync(KtList<int>)
Future<void> importJsonKt(KtList<KtMap>,...)
void importJsonSyncKt(KtList<KtMap>,...)
KtQueryExecute
Future<KtList> findAllKt()
KtList findAllKtSync()
Stream<KtList> watchKt({...})
Future<KtList<KtMap<String, dynamic>>> exportJsonKt()
Getting started #
- Install isar
- Install kt_isar
flutter pub get kt_isar
Usage #
Import either kt_isar.dart
or kt_isar_ext.dart
only for extensions.