Module.from constructor

Module.from(
  1. PythonModuleInterface<PythonFfiDelegate<Object?>, Object?> moduleDelegate, {
  2. required String name,
  3. required String sanitizedName,
})

Wraps a Python object in a Module.

Implementation

Module.from(
  super.moduleDelegate, {
  required this.name,
  required this.sanitizedName,
})  : value = moduleDelegate,
      super.from();