SourceFrame constructor

const SourceFrame({
  1. required String file,
  2. required int line,
  3. required int col,
  4. String? desc,
  5. String type = 'rohd',
})

Creates a SourceFrame with the given file, line, col, optional desc, and optional type tag (defaults to 'rohd').

Implementation

const SourceFrame({
  required this.file,
  required this.line,
  required this.col,
  this.desc,
  this.type = 'rohd',
});