Field.from constructor

Field.from(
  1. Field source
)

Derives an instance Field from source.

Implementation

factory Field.from(Field source) {
  return Field(
    fieldName: source.fieldName,
    fieldType: source.fieldType,
    nullable: source.nullable,
  );
}