lastPathComponent property

NSString? get lastPathComponent

lastPathComponent

Implementation

objc.NSString? get lastPathComponent {
  objc.checkOsVersionInternal(
    'NSURL.lastPathComponent',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  final _ret = _objc_msgSend_151sglz(
    this.ref.pointer,
    _sel_lastPathComponent,
  );
  return _ret.address == 0
      ? null
      : objc.NSString.castFromPointer(_ret, retain: true, release: true);
}