toCommand method Null safety

  1. @override
MigrationCommand toCommand()

Generated Dart code to include in a migrations file.

Implementation

@override
MigrationCommand toCommand() =>
    CreateIndex(columns: columns, onTable: tableName!, unique: unique);