decode method

dynamic decode()

Decodes this string as JSON, throwing FormatException if parsing fails.

Use tryDecode for lenient parsing that does not throw.

Implementation

dynamic decode() => jsonDecode(this);