First make sure the device is connected by USB
adb tcpip 5555
adb connect <phone IP>:5555
adb devices
| void main() { | |
| final map1 = <String, dynamic>{ | |
| 'refs': {'k1': 1, 'k2': 's'} | |
| }; | |
| final map2 = { | |
| 'refs': {'k3': null} | |
| }; | |
| map1.merge(map2); | |
| } |
| void main() { | |
| // DataBool | |
| print(DataBool(true) == true); // true | |
| print(true == DataBool(true)); // false | |
| // DataString | |
| print(DataString("a") == "a"); // true | |
| print("a" == DataString("a")); // false | |
| } | |
| abstract class Data<T> { |
| import 'dart:convert'; | |
| import 'dart:typed_data'; | |
| void main() { | |
| Map<String, dynamic> outMap = { | |
| 'wheelSpeed': 3, | |
| 'tempFet': 4.4, | |
| 'tempMotor': 5.5, | |
| 'motorCurr': 6.6, | |
| 'inputCurr': 7, |
First make sure the device is connected by USB
adb tcpip 5555
adb connect <phone IP>:5555
adb devices