DataReference class abstract
特定データへの抽象化したアクセスを提供する.
このデータはあくまで参照であり、gc可能である. 実際のファイルOpen/Close等の処理はデコード時のみ行う.
- Implementers
Constructors
- DataReference()
-
const
- DataReference.binary(Uint8List binary)
-
バイナリデータをラップする.
factory
- DataReference.delegate(LoadDataBinaryDelegate delegate)
-
読み込み処理を別な関数に委譲する.
factory
- DataReference.file(File file)
-
ファイルを参照する.
factory
- DataReference.flutterBundle(String path, {String? package})
-
Flutterビルドで組み込まれたasset(Bundle)を参照する.
factory
- DataReference.text(String text)
-
テキストデータからバイナリを生成する.
factory
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
-
loadByteArray(
) → Future< Uint8List> - データをOn-Memoryにデコードする
-
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