createIndexSQL method Null safety

String createIndexSQL(
  1. IndexDeclaration idx
)

Implementation

String createIndexSQL(IndexDeclaration idx) {
  return 'CREATE INDEX ${idx.indexName} ON $tableName (${idx.fields.map((fn) => [
        '"',
        fn,
        '"'
      ].join('')).toList().join(',')});';
}