imageResponseFormatDeliveryToString function

String imageResponseFormatDeliveryToString(
  1. ImageResponseFormatDelivery value
)

Converts an ImageResponseFormatDelivery enum value to a string.

Implementation

String imageResponseFormatDeliveryToString(ImageResponseFormatDelivery value) {
  return switch (value) {
    ImageResponseFormatDelivery.inline => 'INLINE',
    ImageResponseFormatDelivery.uri => 'URI',
    ImageResponseFormatDelivery.unspecified => 'DELIVERY_UNSPECIFIED',
  };
}