forGenerator property

  1. @override
String get forGenerator
override

Outputs model as String to be used in a generator

Implementation

@override
String get forGenerator =>
    "InsertForeignKey('$localTableName', '$foreignTableName', foreignKeyColumn: '$foreignKeyColumn', onDeleteCascade: $onDeleteCascade, onDeleteSetDefault: $onDeleteSetDefault)";