copyWith method
SimpleTextModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- String? title,
- String? text,
- StorageConditionsModel? conditions,
- 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,
);
}