1、存放logic
HeatingPadLogic logic = Get.put<HeatingPadLogic>(HeatingPadLogic(), tag:"HeatingPadLogic");
2、获取
HeatingPadLogic logic = Get.find<HeatingPadLogic>(tag: "HeatingPadLogic")
3、销毁
@override
void dispose() {
Get.delete<HeatingPadLogic>(tag: "HeatingPadLogic");
super.dispose();
}
注意:泛型类型 <HeatingPadLogic>不能少