TypeMember constructor

const TypeMember({
  1. required String name,
  2. required AbstractType type,
  3. List<TypeAnnotation> annotations = const <TypeAnnotation>[],
})

Construct a new TypeMember.

Implementation

const TypeMember({
  required this.name,
  required this.type,
  this.annotations = const <TypeAnnotation>[],
});