copyWith method

Status copyWith({
  1. dynamic status,
  2. String? statusVerbose,
  3. String? body,
  4. String? error,
  5. int? imageId,
})

Implementation

Status copyWith({
  final dynamic status,
  final String? statusVerbose,
  final String? body,
  final String? error,
  final int? imageId,
}) {
  return Status(
    status: status ?? this.status,
    statusVerbose: statusVerbose ?? this.statusVerbose,
    body: body ?? this.body,
    error: error ?? this.error,
    imageId: imageId ?? this.imageId,
  );
}