ImageActivity.fromSnapshot constructor
Implementation
ImageActivity.fromSnapshot(DocumentSnapshot<Map<String, dynamic>> snapshot) : super.fromSnapshot(snapshot) {
var json = snapshot.data() as Map<String, Object?>;
imagePath = json["imagePath"] as String;
thumbPath = json["thumbPath"] as String?;
}