forGenerator property

  1. @override
String get forGenerator
override

Outputs model as String to be used in a generator

Implementation

@override
String get forGenerator =>
    "CreateIndex(columns: [${columns.map((c) => "'$c'").join(', ')}], onTable: '$onTable', unique: $unique)";