OpeningDetails constructor

const OpeningDetails(
  1. int? versionBefore,
  2. int versionNow
)

Used internally by drift when opening a database.

Implementation

const OpeningDetails(this.versionBefore, this.versionNow)
    // Should use null instead of 0 for consistency
    : assert(versionBefore != 0);