copyWith method
Implementation
CreatePaymentModel copyWith({
bool? success,
int? code,
String? description,
Data? data,
}) =>
CreatePaymentModel(
success: success ?? this.success,
code: code ?? this.code,
description: description ?? this.description,
data: data ?? this.data,
);