toClass property

FieldModel get toClass

Converts this to a FieldModel.

Implementation

FieldModel get toClass => FieldModel(
  fieldPath: fieldPath,
  fieldType: fieldType,
  nullable: nullable,
  children: children,
  primaryKey: primaryKey,
  foreignKey: foreignKey,
  fallback: fallback,
  description: description,
);