Raise minimum language version to 2.13

Drift uses generalized typdefs in generated code, which only became
available in Dart 2.13.
This commit is contained in:
Simon Binder 2023-04-12 21:27:06 +02:00
parent 39645f669c
commit f8e7d2335a
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -402,5 +402,5 @@ class _DriftBuildRun {
return buildStep.writeAsString(buildStep.allowedOutputs.single, code);
}
static final Version _minimalDartLanguageVersion = Version(2, 12, 0);
static final Version _minimalDartLanguageVersion = Version(2, 13, 0);
}