toStringValue static method

String toStringValue(
  1. GiphyFileFormat type
)

Converts a GiphyFileFormat enum value to its string representation.

type The GiphyFileFormat value to be converted.

Returns the string representation of the given GiphyFileFormat value.

Implementation

static String toStringValue(GiphyFileFormat type) {
  return type.toString().split('.').last;
}