PackageLoader constructor

PackageLoader(
  1. String? _package, [
  2. AssetBundle? _bundle
])

Implementation

PackageLoader(this._package, [this._bundle]) {
  if (this._package == null) throw Exception("package required!");
  if (this._bundle == null) this._bundle = virtualBundle;
}