copyWith method

ModelFieldGetAttribute copyWith({
  1. ID? fieldID,
  2. int? index,
  3. ModelFieldGetAttribute? subField,
})

Implementation

ModelFieldGetAttribute copyWith({
  ID? fieldID,
  int? index,
  ModelFieldGetAttribute? subField,
}) {
  return ModelFieldGetAttribute(
    fieldID: fieldID ?? this.fieldID,
    index: index ?? this.index,
    subField: subField ?? this.subField,
  );
}