asString property

String get asString

Get the String value of this JSON value, or throw if other type.

Implementation

String get asString => value as String;