LibraryClass.lazy constructor

LibraryClass.lazy(
  1. String name,
  2. Type nativeType,
  3. BridgedClass _thunk(), {
  4. String? sourceUri,
})

Lazy wrapper: thunk builds the bridge on first access to bridgedClass.

Implementation

LibraryClass.lazy(this.name, this.nativeType, this._thunk, {this.sourceUri});