Serializes the image generation result into a map.
Map<String, dynamic> toMap() => { 'providerId': providerId, 'urls': urls, 'raw': raw, };