copyWith method

  1. @override
CallbackQueryPayloadData copyWith({
  1. String? data,
})
override

Implementation

@override
CallbackQueryPayloadData copyWith({
  String? data,
}) =>
    CallbackQueryPayloadData(
      data: data ?? this.data,
    );