parseMigrationResult function
Parses the name of a MigrationResult to a MigrationResult
Implementation
MigrationResult parseMigrationResult(String? value) {
if (value == null || value.isEmpty) {
return MigrationResult.skipped;
}
return MigrationResult.values
.singleWhere((enumValue) => enumValue.name == value);
}