decode static method

RequestResponse decode(
  1. Object result
)

Implementation

static RequestResponse decode(Object result) {
  result as List<Object?>;
  return RequestResponse(
    bytesDownloaded: result[0]! as int,
    installErrorCode: result[1]! as int,
    installStatus: result[2]! as int,
    packageName: result[3]! as String,
    totalBytesToDownload: result[4]! as int,
  );
}