copyWith method

Status copyWith({
  1. String? statusCode,
  2. String? statusDescription,
})

Implementation

Status copyWith({String? statusCode, String? statusDescription}) {
  return Status(
      statusCode: statusCode ?? this.statusCode,
      statusDescription: statusDescription ?? this.statusDescription);
}