TypeAnnotation constructor

const TypeAnnotation(
  1. {required String name,
  2. Map<String, String> data = const <String, String>{}}
)

Construct a new TypeAnnotation.

Implementation

const TypeAnnotation({
  required this.name,
  this.data = const <String, String>{},
});