fileAttributesToWriteToFile method
NSDictionary?
fileAttributesToWriteToFile(
- NSString fullDocumentPath, {
- required NSString ofType,
- required NSSaveOperationType saveOperation,
fileAttributesToWriteToFile:ofType:saveOperation:
Implementation
objc.NSDictionary? fileAttributesToWriteToFile(
objc.NSString fullDocumentPath, {
required objc.NSString ofType,
required NSSaveOperationType saveOperation,
}) {
objc.checkOsVersionInternal(
'NSDocument.fileAttributesToWriteToFile:ofType:saveOperation:',
iOS: (true, null),
macOS: (false, (10, 1, 0)),
);
final _ret = _objc_msgSend_auhece(
this.ref.pointer,
_sel_fileAttributesToWriteToFile_ofType_saveOperation_,
fullDocumentPath.ref.pointer,
ofType.ref.pointer,
saveOperation.value,
);
return _ret.address == 0
? null
: objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}