OLD | NEW |
(Empty) | |
| 1 |
| 2 class _EntrySyncImpl extends _DOMTypeBase implements EntrySync { |
| 3 _EntrySyncImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 DOMFileSystemSync get filesystem() => _wrap(_ptr.filesystem); |
| 6 |
| 7 String get fullPath() => _wrap(_ptr.fullPath); |
| 8 |
| 9 bool get isDirectory() => _wrap(_ptr.isDirectory); |
| 10 |
| 11 bool get isFile() => _wrap(_ptr.isFile); |
| 12 |
| 13 String get name() => _wrap(_ptr.name); |
| 14 |
| 15 EntrySync copyTo(DirectoryEntrySync parent, String name) { |
| 16 return _wrap(_ptr.copyTo(_unwrap(parent), _unwrap(name))); |
| 17 } |
| 18 |
| 19 Metadata getMetadata() { |
| 20 return _wrap(_ptr.getMetadata()); |
| 21 } |
| 22 |
| 23 DirectoryEntrySync getParent() { |
| 24 return _wrap(_ptr.getParent()); |
| 25 } |
| 26 |
| 27 EntrySync moveTo(DirectoryEntrySync parent, String name) { |
| 28 return _wrap(_ptr.moveTo(_unwrap(parent), _unwrap(name))); |
| 29 } |
| 30 |
| 31 void remove() { |
| 32 _ptr.remove(); |
| 33 return; |
| 34 } |
| 35 |
| 36 String toURL() { |
| 37 return _wrap(_ptr.toURL()); |
| 38 } |
| 39 } |
OLD | NEW |