LocalModelAdapter constructor

const LocalModelAdapter({
  1. String? prefix,
})

A database adapter that stores data on a local terminal.

Use for application development that does not require external storage of values.

For mobile and desktop, data is encrypted and stored in external files, and for the Web, data is encrypted and stored in LocalStorage.

By adding prefix, all paths can be prefixed, enabling operations such as separating data storage locations for each Flavor.

ローカル端末にデータを保存するデータベースアダプター。

外部に値を保存する必要のないアプリ開発に利用します。

モバイルやデスクトップは外部ファイルに暗号化してデータが保存されWebの場合はLocalStorageに暗号化されデータが保存されます。

prefixを追加することですべてのパスにプレフィックスを付与することができ、Flavorごとにデータの保存場所を分けるなどの運用が可能です。

Implementation

const LocalModelAdapter({this.prefix});