copyWith method

VerifyTransactionRes copyWith({
  1. bool? success,
  2. String? message,
  3. Data? data,
})

Implementation

VerifyTransactionRes copyWith({
  bool? success,
  String? message,
  Data? data,
}) =>
    VerifyTransactionRes(
      success: success ?? this.success,
      message: message ?? this.message,
      data: data ?? this.data,
    );