ReflectableEmitter constructor

ReflectableEmitter(
  1. ReflectableOutput _output,
  2. LibraryReader _library, {
  3. Allocator? allocator,
  4. String reflectorSource = '$_package/src/reflector.dart',
  5. required String? currentPackage,
})

Implementation

ReflectableEmitter(
  this._output,
  this._library, {
  Allocator? allocator,
  this.reflectorSource = '$_package/src/reflector.dart',
  required this.currentPackage,
}) : _allocator = allocator ?? Allocator.none;