Json.fromJson constructor
Json.fromJson(
- Object? value
Implementation
factory Json.fromJson(Object? value) {
final result = fromJsonChecked(value);
return result.match(
(ok) => ok,
(err) => throw Exception(err),
);
}