GalleryItem.fromJson constructor

GalleryItem.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GalleryItem.fromJson(Map<String, dynamic> json) {
  return GalleryItem(
    id: json['id'],
    description: json['description'],
    imageUrl: json['image_url'],
    accountId: json['account_id'],
  );
}