Source.fromImage constructor
Source.fromImage(
- String source
Creates a new source from an image.
The source
should be pointing to a valid image file.
Implementation
Source.fromImage(this.source) : _type = "image";