copyWith method
DividerModel
copyWith({
- String? documentID,
- String? appId,
- String? description,
- RgbModel? color,
- double? height,
- double? thickness,
- double? indent,
- double? endIndent,
- StorageConditionsModel? conditions,
override
Implementation
@override
DividerModel copyWith({
String? documentID,
String? appId,
String? description,
RgbModel? color,
double? height,
double? thickness,
double? indent,
double? endIndent,
StorageConditionsModel? conditions,
}) {
return DividerModel(
documentID: documentID ?? this.documentID,
appId: appId ?? this.appId,
description: description ?? this.description,
color: color ?? this.color,
height: height ?? this.height,
thickness: thickness ?? this.thickness,
indent: indent ?? this.indent,
endIndent: endIndent ?? this.endIndent,
conditions: conditions ?? this.conditions,
);
}