InterpretedExtensionMethod constructor

InterpretedExtensionMethod(
  1. SMethodDeclaration declaration,
  2. Environment closure,
  3. RuntimeType? onType, {
  4. List<String> extensionTypeParameters = const [],
  5. STypeAnnotation? onTypeAnnotation,
})

Implementation

InterpretedExtensionMethod(
  this.declaration,
  this.closure,
  RuntimeType? onType, {
  this.extensionTypeParameters = const [],
  this.onTypeAnnotation,
}) {
  if (onType != null) this.onType = onType;
}