unquote method

String unquote()

Returns a new String without outer-quotes or itself if not quoted.

Implementation

String unquote() => isQuoted ? substring(1, length - 1) : this;