LogicUnitNode constructor
LogicUnitNode({
- required String name,
- required List<
FieldInfo> stateFields, - required List<
MethodInfo> methods, - required bool isNotifier,
- NotifierType notifierType = NotifierType.stateNotifier,
- bool isFamilyCandidate = false,
- String role = 'logic',
- String? superClassName,
- List<
String> mixins = const [], - required String filePath,
- required int offset,
- 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,
});