这是indexloc提供的服务,不要输入任何密码

sa_sqflite_lego 1.0.7 copy "sa_sqflite_lego: ^1.0.7" to clipboard
sa_sqflite_lego: ^1.0.7 copied to clipboard

sqflite lego under simple architecture framework.

lego project pub package

sa_sqflite_lego #

sqflite lego under simple architecture framework.

Installation #

  1. open terminal in the lego project root directory, enter the following command for install cli. and create a new lego project if you don't have one.
flutter pub global activate lego_cli
lego create
  1. in terminal, enter the following command for add lego to project.
lego add sa_sqflite_lego

Usage #

Check check = Check();
print(check.toMap());

await CheckSqlite().upsert(check);

Check? check2 = await CheckSqlite().get(check.docId);

print(check2?.toMap());