AuthExporter class
Import and export DynamicMap data used in AuthDatabase to external files.
For types that cannot be serialized (e.g., objects), filtering is used to exclude them.
For Web, output to LocalStorage
.
AuthDatabaseで利用されているDynamicMapのデータを外部ファイルに対してインポート・エクスポートを行ないます。
シリアライズできない型(オブジェクトなど)に関しては、フィルタリングで除外します。
Webの場合はLocalStorage
に出力します。
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
documentDirectory
→ Future<
String?> -
Obtains the document path where the file can be placed by determining the platform.
no setter
Static Methods
-
export(
String fileName, DynamicMap data) → Future< void> -
Export
data
againstfileName
. -
import(
String fileName) → Future< DynamicMap> -
Import the data stored in
fileName
.