decode static method
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,
);
}