copyWith method

SimpleTextEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. String? title,
  5. String? text,
  6. StorageConditionsEntity? conditions,
  7. int? textAlign,
})

Implementation

SimpleTextEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  String? title,
  String? text,
  StorageConditionsEntity? conditions,
  int? textAlign,
}) {
  return SimpleTextEntity(
    appId: appId ?? this.appId,
    description: description ?? this.description,
    title: title ?? this.title,
    text: text ?? this.text,
    conditions: conditions ?? this.conditions,
    textAlign: textAlign ?? this.textAlign,
  );
}