getAsString method

String getAsString(
  1. int index
)

Converts array element into a string or returns '' if conversion is not possible.

  • index an index of element to get. Returns string value ot the element or '' if conversion is not supported.

See getAsStringWithDefault

Implementation

String getAsString(int index) {
  return getAsStringWithDefault(index, '');
}