asString property

String? asString

The data object is simply a string object.

Implementation

String? get asString => (data as JSString?)?.toDart;