ImageMetadata constructor Null safety
- {String? alt,
- required Iterable<
ImageSource> sources, - String? title}
Creates an image.
Implementation
ImageMetadata({this.alt, required this.sources, this.title}) {
for (final source in sources) {
_imageMetas[source] = this;
}
}