forGenerator property Null safety

String forGenerator

Output to be used when building up statements in a Migration

Implementation

String get forGenerator {
  final stringified = toMigrationCommands().map((c) => c.forGenerator).join(',\n');
  return '[\n$stringified\n]';
}