decode static method

UpdateInfo decode(
  1. Object result
)

Implementation

static UpdateInfo decode(Object result) {
  result as List<Object?>;
  return UpdateInfo(
    availableVersionCode: result[0]! as int,
    installStatus: result[1]! as int,
    packageName: result[2]! as String,
    updateAvailability: result[3]! as int,
  );
}