toStringValue method Null safety

String? toStringValue()

Return a string corresponding to the value of the object being represented, or null if

  • this object is not of type 'String',
  • the value of the object being represented is not known, or
  • the value of the object being represented is null.

Implementation

String? toStringValue();