ServicesBuilder.create constructor
ServicesBuilder.create({
- ServiceFactory? contentProtection,
- ServiceFactory? cover,
- ServiceFactory? locator = _defaultLocator,
- ServiceFactory? positions,
Implementation
factory ServicesBuilder.create(
{ServiceFactory? contentProtection,
ServiceFactory? cover,
ServiceFactory? locator = _defaultLocator,
ServiceFactory? positions}) =>
ServicesBuilder._({
if (contentProtection != null)
ContentProtectionService: contentProtection,
if (cover != null) CoverService: cover,
if (locator != null) LocatorService: locator,
if (positions != null) PositionsService: positions
});