InMemory class

A source of migration data. This default implementation is a simple in-memory storage.

Implemented types

Constructors

InMemory(Map<String, String> versionToMigration)
Creates a new instance from the version-to-migration map.

Properties

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
read({String? afterVersion}) Stream<Migration>
Streams the migrations ordered by version, ascending. If afterVersion is passed, all migrations with versions less or equal to it will be skipped.
override
toString() String
A string representation of this object.
inherited

Operators

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