DmxDeclaration constructor

const DmxDeclaration(
  1. String name, {
  2. required String kind,
  3. List<String> modifiers = const [],
  4. String typeParams = '',
  5. String? extendsName,
  6. List<String> interfaces = const [],
  7. List<DmxField> fields = const [],
  8. List<String> values = const [],
})

Builds a declaration view.

Implementation

const DmxDeclaration(
  this.name, {
  required this.kind,
  this.modifiers = const [],
  this.typeParams = '',
  this.extendsName,
  this.interfaces = const [],
  this.fields = const [],
  this.values = const [],
});