copyWith method

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

Implementation

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