copyWith method
TerminalCreateRequest
copyWith({
- String? signToken,
- String? alias,
- String? name,
- String? pointId,
- String? description,
- num? defaultPrice,
- TerminalType? type,
override
Создает экземпляр с заданными параметрами
Implementation
@override
TerminalCreateRequest copyWith({
String? signToken,
String? alias,
String? name,
String? pointId,
String? description,
num? defaultPrice,
TerminalType? type,
}) {
return TerminalCreateRequest(
signToken: signToken ?? this.signToken,
alias: alias ?? this.alias,
name: name ?? this.name,
pointId: pointId ?? this.pointId,
description: description ?? this.description,
type: type ?? this.type,
defaultPrice: defaultPrice ?? this.defaultPrice,
);
}