loadComponent method
Component type (a type name the model's components lists): the
definition stored at PublishSource.componentPath. Throws a
PublishLoadException when there is none.
Implementation
@override
Future<PublishComponent> loadComponent(PublishSource source, String type) async {
calls.add('component:${source.name}:$type');
return _bundled(_bundle(source), type, 'the bundle');
}