copyWith method

  1. @override
SimpleTextModel copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? title,
  5. String? text,
  6. StorageConditionsModel? conditions,
  7. SimpleTextAlign? textAlign,
})
override

Implementation

@override
SimpleTextModel copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? title,
  String? text,
  StorageConditionsModel? conditions,
  SimpleTextAlign? textAlign,
}) {
  return SimpleTextModel(
    documentID: documentID ?? this.documentID,
    appId: appId ?? this.appId,
    description: description ?? this.description,
    title: title ?? this.title,
    text: text ?? this.text,
    conditions: conditions ?? this.conditions,
    textAlign: textAlign ?? this.textAlign,
  );
}