convert a Map<String, dynamic> into Data
factory ImagesData.fromMap(Map<String, dynamic> map) { return ImagesData( map['url'] as String, ); }