FieldModelX extension

on

Methods

copyWith({List<String>? fieldPath, dynamic fieldType, bool? nullable, List<Map<String, dynamic>>? children, bool? primaryKey, bool? foreignKey, Object? fallback, String? description}) FieldModel

Available on FieldModel, provided by the FieldModelX extension

Creates a copy of this instance, replacing the specified fields.
copyWithout({bool fieldPath = true, bool fieldType = true, bool nullable = true, bool children = true, bool primaryKey = true, bool foreignKey = true, bool fallback = true, bool description = true}) FieldModel

Available on FieldModel, provided by the FieldModelX extension

Creates a copy of this instance, removing the specified fields.
mergeWith(BaseModel? other, {bool deepMerge = false}) FieldModel

Available on FieldModel, provided by the FieldModelX extension

Creates a copy of this instance, merging another model's fields into this model's fields.