copyWith method

TapPayInitResult copyWith({
  1. bool? success,
  2. String? message,
})

Implementation

TapPayInitResult copyWith({
  bool? success,
  String? message,
}) {
  return TapPayInitResult(
    success: success ?? this.success,
    message: message ?? this.message,
  );
}