toStringValue static method

String toStringValue(
  1. GiphyResizeMode type
)

Converts a GiphyResizeMode enum value to its string representation.

type The GiphyResizeMode value to be converted.

Returns the string representation of the given GiphyResizeMode value.

Implementation

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