addPlatformAttachment method

Future<void> addPlatformAttachment(
  1. PlatformFile platformFile
)

Constructs a NativeFile from the specified PlatformFile and adds it to the attachments.

Implementation

Future<void> addPlatformAttachment(PlatformFile platformFile) async {
  await _addAttachment(NativeFile.fromPlatformFile(platformFile));
}