(path: string)
| 272 | } |
| 273 | |
| 274 | public loadFromFile(path: string): boolean { |
| 275 | console.log('loadFromFile() is deprecated. Use ImageSource.fromFileSync() instead.'); |
| 276 | |
| 277 | const imgSource = ImageSource.fromFileSync(path); |
| 278 | this.ios = imgSource ? imgSource.ios : null; |
| 279 | |
| 280 | return !!this.ios; |
| 281 | } |
| 282 | |
| 283 | public fromFile(path: string): Promise<boolean> { |
| 284 | console.log('fromFile() is deprecated. Use ImageSource.fromFile() instead.'); |
nothing calls this directly
no test coverage detected