Json constructor
Json(
- Object? value
Create the given value as a JSON value.
This constructor will validate the given object structure when assertions are enabled.
Implementation
Json(this.value) : assert(isDeepValid(value as Json));