copyWith method

ModelFieldEntity copyWith({
  1. ID? id,
  2. String? description,
  3. Variable? variable,
  4. String? jsonKey,
})

Implementation

ModelFieldEntity copyWith({
  ID? id,
  String? description,
  Variable? variable,
  String? jsonKey,
}) =>
    ModelFieldEntity(
      id: id ?? this.id,
      description: description ?? this.description,
      variable: variable ?? this.variable,
      jsonKey: jsonKey ?? this.jsonKey,
    );