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

  1. Install isar
  2. Install kt_isar
flutter pub get kt_isar

Usage

Import either kt_isar.dart or kt_isar_ext.dart only for extensions.

Libraries

kt_isar
kt_isar_ext