report method

Future<void> report({
  1. required String path,
  2. required String creator,
  3. required String title,
})

Generates and saves a DNA analysis report to path.

Add your name to the report by setting creator. Add a title to the report by setting title.

DNA dna = DNA(seq: 'ATGCGA');
dna.report(path: '../deliverables', title: 'My Report', creator: 'John Doe');

Implementation

Future<void> report(
    {required String path, required String creator, required String title}) async {
  _genReport(path, creator, title);
}