TestGateway class

A testing gateway instance.

Inheritance

Constructors

TestGateway({String? initialVersion})

Properties

appliedMigrations List<Migration>
All the applied migrations.
final
appliedVersions List<String>
All applied migration versions.
no setter
hashCode int
The hash code for this object.
no setterinherited
initialVersion String?
Initial DB version.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(Migration migration) Future<void>
Applies the migration and records its version.
override
currentVersion() Future<String?>
Returns the current version or null if the version is not yet defined.
override
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