Creates a num from a Model. If unsucessful, will return -1.
-1
num numFromModel(Model model) => num.parse(model.data["data"]?.toString() ?? "-1");