debugReinitializeFromAsset method

String? debugReinitializeFromAsset(
  1. String assetName
)

Test-only. Reloads this library from assetName's bytes while keeping this library's identity and registry key. Production hot reload always re-fetches the original asset path via reinitialize; this hook lets tests simulate an edited bundle by swapping in a different fixture.

Implementation

String? debugReinitializeFromAsset(String assetName) =>
    _reinitializeWithAsset(assetName);