getAsStringWithDefault method Null safety

String getAsStringWithDefault(
  1. int index,
  2. String defaultValue
)

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

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

See StringConverter.toStringWithDefault