AFGeneratedFile.fromBuffer constructor

AFGeneratedFile.fromBuffer({
  1. required List<String> projectPath,
  2. required AFCodeBuffer buffer,
  3. required AFGeneratedFileAction action,
})

Implementation

factory AFGeneratedFile.fromBuffer({
  required List<String> projectPath,
  required AFCodeBuffer buffer,
  required AFGeneratedFileAction action
}) {
  return AFGeneratedFile(
    projectPath: projectPath,
    action: action,
    buffer: buffer
  );

}