copyWith method

BadRequest$Response copyWith({
  1. List<String>? errorMessages,
  2. String? responseCode,
})

Implementation

BadRequest$Response copyWith(
    {List<String>? errorMessages, String? responseCode}) {
  return BadRequest$Response(
      errorMessages: errorMessages ?? this.errorMessages,
      responseCode: responseCode ?? this.responseCode);
}