factory ImageConfig.fromJson(Map<String, dynamic> json) { return ImageConfig(aspectRatio: json['aspectRatio']); }