DriftRuntimeOptions class Null safety

Defines additional runtime behavior for drift. Changing the fields of this class is rarely necessary.

Constructors

DriftRuntimeOptions()

Properties

debugPrint ↔ void Function(String)
The function used by drift to emit debug prints. [...]
read / write
defaultSerializer ValueSerializer
The ValueSerializer that will be used by default in DataClass.toJson.
read / write
dontWarnAboutMultipleDatabases bool
Don't warn when a database class isn't used as singleton.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited