toJson method
Implementation
Map<String, dynamic> toJson() {
validate();
return {
'selectionId': selectionId,
'images': images.map((image) => image.toJson()).toList(growable: false),
'selectedAtUtc': selectedAtUtc.toIso8601String(),
};
}