addTicketComment method

  1. @override
Future<void> addTicketComment({
  1. required String requestId,
  2. required String body,
  3. List<String> attachmentTokens = const [],
})
override

Add a comment to an existing ticket.

  • requestId: The ticket to comment on
  • body: The comment text
  • attachmentTokens: Optional upload tokens

Implementation

@override
Future<void> addTicketComment({
  required String requestId,
  required String body,
  List<String> attachmentTokens = const [],
}) async {
  await methodChannel.invokeMethod<void>(
    'addTicketComment',
    {
      'requestId': requestId,
      'body': body,
      'attachmentTokens': attachmentTokens,
    },
  );
}