(data: any)
| 291 | } |
| 292 | |
| 293 | public loadFromData(data: any): boolean { |
| 294 | console.log('loadFromData() is deprecated. Use ImageSource.fromDataSync() instead.'); |
| 295 | |
| 296 | const imgSource = ImageSource.fromDataSync(data); |
| 297 | this.ios = imgSource ? imgSource.ios : null; |
| 298 | |
| 299 | return !!this.ios; |
| 300 | } |
| 301 | |
| 302 | public fromData(data: any): Promise<boolean> { |
| 303 | console.log('fromData() is deprecated. Use ImageSource.fromData() instead.'); |
nothing calls this directly
no test coverage detected