JsonNode<T> constructor

const JsonNode<T>(
  1. {required String key,
  2. required T data,
  3. List<TypeAnnotation> annotations = const <TypeAnnotation>[]}
)

extends JsonNode { Construct a new JsonNode.

Implementation

const JsonNode({
  required this.key,
  required this.data,
  this.annotations = const <TypeAnnotation>[],
});