DartType constructor

const DartType({
  1. String? name,
  2. List<String> imports = const [],
})

Instantiate a Dart type.

Implementation

const DartType({
  this.name,
  this.imports = const [],
});