LoadController.function constructor

LoadController.function(
  1. LoaderFunction? loader, [
  2. String? id
])

Implementation

LoadController.function(this.loader, [String? id]) {
  if (loader == null) throw ArgumentError('Null LoaderFunction');
  this.id = id ?? _newID();
}