copyWith method

GetMainWebApp copyWith({
  1. int? chatId,
  2. int? botUserId,
  3. String? startParameter,
  4. WebAppOpenParameters? parameters,
})

Implementation

GetMainWebApp copyWith({
  int? chatId,
  int? botUserId,
  String? startParameter,
  WebAppOpenParameters? parameters,
}) => GetMainWebApp(
  chatId: chatId ?? this.chatId,
  botUserId: botUserId ?? this.botUserId,
  startParameter: startParameter ?? this.startParameter,
  parameters: parameters ?? this.parameters,
);