copyWith method

SimpleResponseMessage copyWith({
  1. bool? success,
})

Implementation

SimpleResponseMessage copyWith({
  bool? success,
}) {
  return SimpleResponseMessage(
    success: success ?? this.success,
  );
}