uploadAttachment method

Future<ZendeskAttachment?> uploadAttachment({
  1. required String fileName,
  2. required String filePath,
  3. required String mimeType,
})

Upload an attachment and get its token.

  • fileName: The original file name
  • filePath: Absolute path to the file on the device
  • mimeType: The MIME type of the file (e.g., "image/png")

Returns a ZendeskAttachment with the upload token.

Implementation

Future<ZendeskAttachment?> uploadAttachment({
  required String fileName,
  required String filePath,
  required String mimeType,
}) {
  throw UnimplementedError(
      'uploadAttachment() has not been implemented.');
}