LuauFunction constructor

LuauFunction({
  1. required String name,
  2. required List<LuauNode> body,
  3. List<LuauParameter> parameters = const [],
  4. String? returnType,
  5. bool isLocal = false,
})

Implementation

LuauFunction({
  required this.name,
  required this.body,
  this.parameters = const [],
  this.returnType,
  this.isLocal = false,
});