copyWith method

DividerEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. String? description,
  4. RgbEntity? color,
  5. double? height,
  6. double? thickness,
  7. double? indent,
  8. double? endIndent,
  9. StorageConditionsEntity? conditions,
})

Implementation

DividerEntity copyWith({
  String? documentID,
  String? appId,
  String? description,
  RgbEntity? color,
  double? height,
  double? thickness,
  double? indent,
  double? endIndent,
  StorageConditionsEntity? conditions,
}) {
  return DividerEntity(
    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,
  );
}