toClass property

FieldModel get toClass

Converts this to a FieldModel.

Implementation

FieldModel get toClass => FieldModel(
      fieldPath: this.fieldPath,
      fieldType: this.fieldType,
      nullable: this.nullable,
      children: this.children,
      primaryKey: this.primaryKey,
      foreignKey: this.foreignKey,
      description: this.description,
      references: this.references,
      columnDefault: this.columnDefault,
    );