JsonBoolean.parse constructor

JsonBoolean.parse(
  1. String input
)

Parses and returns the given input as a boolean.

If parsing fails, or the result is not a boolean, a FormatException is thrown.

Implementation

factory JsonBoolean.parse(String input) => JsonValue.parse(input);