DatabaseMigrationException constructor

DatabaseMigrationException(
  1. int fromVersion,
  2. int toVersion,
  3. int problemVersion,
  4. dynamic cause,
)

Implementation

DatabaseMigrationException(
  this.fromVersion,
  this.toVersion,
  this.problemVersion,
  this.cause,
) : this._message =
          "Migration from version $fromVersion to $toVersion failed at version $problemVersion due to $cause";