asString property

String get asString

The value as a String, or throw if not.

Implementation

String get asString => throw StateError('Not a String.');