serviceFactory method

ServiceFactory serviceFactory(
  1. Try<LcpLicense, LcpException>? license
)

Implementation

ServiceFactory serviceFactory(Try<LcpLicense, LcpException>? license) =>
    (context) => LcpContentProtectionService.createFactory(
        license?.getOrNull(), license?.exceptionOrNull());