dictionaryWithContentsOfFile static method

NSDictionary? dictionaryWithContentsOfFile(
  1. NSString path
)

dictionaryWithContentsOfFile:

Implementation

static objc.NSDictionary? dictionaryWithContentsOfFile(objc.NSString path) {
  objc.checkOsVersionInternal(
    'NSDictionary.dictionaryWithContentsOfFile:',
    iOS: (false, (2, 0, 0)),
    macOS: (false, (10, 0, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    _class_NSDictionary,
    _sel_dictionaryWithContentsOfFile_,
    path.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : objc.NSDictionary.castFromPointer(_ret, retain: true, release: true);
}