AddCardResponse constructor Null safety

AddCardResponse(
  1. {bool? success,
  2. String? errorCode,
  3. String? message,
  4. String? details,
  5. String? terminalKey,
  6. String? customerKey,
  7. String? requestKey,
  8. String? paymentURL}
)

Создает экземпляр ответа от сервера на привязку карты к покупателю

Implementation

AddCardResponse({
  bool? success,
  String? errorCode,
  String? message,
  String? details,
  this.terminalKey,
  this.customerKey,
  this.requestKey,
  this.paymentURL,
}) : super(
        success: success,
        errorCode: errorCode,
        message: message,
        details: details,
      );