toMap method

Map<String, dynamic> toMap()

Serializes the image generation result into a map.

Implementation

Map<String, dynamic> toMap() => {
      'providerId': providerId,
      'urls': urls,
      'raw': raw,
    };