decode static method

DownloadResponse decode(
  1. Object result
)

Implementation

static DownloadResponse decode(Object result) {
  result as List<Object?>;
  return DownloadResponse(
    code: result[0]! as int,
  );
}