LogicUnitNode constructor

LogicUnitNode({
  1. required String name,
  2. required List<FieldInfo> stateFields,
  3. required List<MethodInfo> methods,
  4. required bool isNotifier,
  5. NotifierType notifierType = NotifierType.stateNotifier,
  6. bool isFamilyCandidate = false,
  7. String role = 'logic',
  8. String? superClassName,
  9. List<String> mixins = const [],
  10. required String filePath,
  11. required int offset,
  12. required int length,
})

Creates a LogicUnitNode.

Implementation

LogicUnitNode({
  required this.name,
  required this.stateFields,
  required this.methods,
  required this.isNotifier,
  this.notifierType = NotifierType.stateNotifier,
  this.isFamilyCandidate = false,
  this.role = 'logic',
  this.superClassName,
  this.mixins = const [],
  required super.filePath,
  required super.offset,
  required super.length,
});