copyWith method
InputMessageInvoice
copyWith({
- Invoice? invoice,
- String? title,
- String? description,
- String? photoUrl,
- int? photoSize,
- int? photoWidth,
- int? photoHeight,
- String? payload,
- String? providerToken,
- String? providerData,
- String? startParameter,
override
Implementation
@override
InputMessageInvoice copyWith({
Invoice? invoice,
String? title,
String? description,
String? photoUrl,
int? photoSize,
int? photoWidth,
int? photoHeight,
String? payload,
String? providerToken,
String? providerData,
String? startParameter,
}) => InputMessageInvoice(
invoice: invoice ?? this.invoice,
title: title ?? this.title,
description: description ?? this.description,
photoUrl: photoUrl ?? this.photoUrl,
photoSize: photoSize ?? this.photoSize,
photoWidth: photoWidth ?? this.photoWidth,
photoHeight: photoHeight ?? this.photoHeight,
payload: payload ?? this.payload,
providerToken: providerToken ?? this.providerToken,
providerData: providerData ?? this.providerData,
startParameter: startParameter ?? this.startParameter,
);