RuntimeOptions class final

Options for RuntimeHandle.create().

See mln_runtime_options in the C API reference.

Constructors

RuntimeOptions({String assetPath = '', String cachePath = ''})
const

Properties

assetPath → String
The directory that asset:// URLs load from. Empty uses the working directory, or the app's assets on Android.
final
cachePath → String
The path of the cache database file, which holds the ambient cache and offline regions. Its directory must be writable. Empty keeps the cache in memory.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? assetPath, String? cachePath}) → RuntimeOptions
A copy of this value with the given members replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited