DriftRuntimeOptions class

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.
getter/setter pair
defaultSerializer ValueSerializer
The ValueSerializer that will be used by default in DataClass.toJson.
getter/setter pair
dontWarnAboutMultipleDatabases bool
Don't warn when a database class isn't used as singleton.
getter/setter pair
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