OutputLocation constructor

OutputLocation({
  1. Key? key,
  2. required Directory location,
  3. File? file,
  4. String label = '',
  5. int startLine = 0,
  6. Platform platform = const LocalPlatform(),
})

Implementation

OutputLocation({
  Key? key,
  required this.location,
  this.file,
  this.label = '',
  this.startLine = 0,
  Platform platform = const LocalPlatform(),
})  : _fileBrowserName = _getFileBrowserName(platform),
      assert(file == null || file.absolute.path.contains(location.absolute.path),
          'Supplied file must be within location directory'),
      super(key: key);