decode static method

InitializeRequest decode(
  1. Object result
)

Implementation

static InitializeRequest decode(Object result) {
  result as List<Object?>;
  return InitializeRequest(
    playerId: result[0] as int?,
    url: result[1] as String?,
    headers: (result[2] as Map<Object?, Object?>?)?.cast<String?, String?>(),
    autoPlay: result[3] as bool?,
    looping: result[4] as bool?,
    allowBackgroundPlayback: result[5] as bool?,
    enableCaching: result[6] as bool?,
    libraryId: result[7] as String?,
    accessKey: result[8] as String?,
    videoId: result[9] as String?,
  );
}