copyWith method
Implementation
TerminalInfoResponse copyWith({
String? name,
String? id,
String? link,
String? description,
TerminalType? type,
num? defaultPrice,
}) {
return TerminalInfoResponse(
name: name ?? this.name,
defaultPrice: defaultPrice ?? this.defaultPrice,
description: description ?? this.description,
type: type ?? this.type,
link: link ?? this.link,
id: id ?? this.id,
);
}