removeAllAttachments static method

Future<void> removeAllAttachments()

removeAllAttachments

Removes all attachments

Available Platforms

Android, iOS

Implementation

static Future<void> removeAllAttachments() async {
  if (kIsWeb || (!io.Platform.isAndroid && !io.Platform.isIOS)) {
    debugPrint(
      'removeAllAttachments is not available for current operating system',
    );
    return;
  }

  await _channel.invokeMethod('removeAllAttachments');
}