decode static method

TXPlayerDrmMsg decode(
  1. Object result
)

Implementation

static TXPlayerDrmMsg decode(Object result) {
  result as List<Object?>;
  return TXPlayerDrmMsg(
    licenseUrl: result[0]! as String,
    playUrl: result[1]! as String,
    playerId: result[2] as int?,
    deviceCertificateUrl: result[3] as String?,
  );
}