decode static method

DRMConfiguration decode(
  1. Object result
)

Implementation

static DRMConfiguration decode(Object result) {
  result as List<Object?>;
  return DRMConfiguration(
    widevine: result[0] != null
        ? WidevineDRMConfiguration.decode(result[0]! as List<Object?>)
        : null,
    fairplay: result[1] != null
        ? FairPlayDRMConfiguration.decode(result[1]! as List<Object?>)
        : null,
    customIntegrationId: result[2] as String?,
    integrationParameters: (result[3] as Map<Object?, Object?>?)?.cast<String?, String?>(),
  );
}