DriftDatabaseOptions class Null safety

Database-specific options used by drift.

Instances of this class are primarily meant to be generated by drift_dev, which will override the database options based on compile-time options.

Constructors

DriftDatabaseOptions({bool storeDateTimeAsText = false})
Creates database-specific database options.
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
types SqlTypes
Configuration for SqlTypes describing how to map Dart values from and to SQL values.
final

Methods

createTypeMapping(SqlDialect dialect) SqlTypes
Creates a type mapping suitable for these options and the given dialect.
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