toStringValue static method

String toStringValue(
  1. GiphyDirection type
)

Converts a GiphyDirection enum value to its string representation.

type The GiphyDirection value to be converted.

Returns the string representation of the given GiphyDirection value.

Implementation

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