FunctionDj constructor

FunctionDj({
  1. dynamic descriptionDj,
  2. VariableType? outputType,
  3. required String name,
  4. List<FunctionArg>? args,
  5. bool isAsync = false,
  6. List<CodePartDj>? bodyCodeParts,
  7. List<String>? annotations,
  8. CodePartDjType codePartDjType = CodePartDjType.Function,
})

Implementation

FunctionDj({
  descriptionDj,
  this.outputType,
  required this.name,
  this.args,
  this.isAsync = false,
  this.bodyCodeParts,
  this.annotations,
  CodePartDjType codePartDjType = CodePartDjType.Function,
}) : super(
        descriptionDj: descriptionDj,
        codePartDjType: codePartDjType,
      );