ImageSource.fromJson constructor
Implementation
factory ImageSource.fromJson(Map<String, dynamic> json) => ImageSource(
type: ImageSourceType.values.byName(json["type"] as String),
filePath:
(json["filePath"] != null ? json["filePath"] as String : null),
);