getAsString method

String getAsString (dynamic key)

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

  • key a key of element to get. Returns string value of the element or '' if conversion is not supported.

See getAsStringWithDefault