sendHeight method
Implementation
@override
Future sendHeight() async {
try {
var result = await platform.invokeMethod('sendHeight');
return result;
} on PlatformException catch (e) {
if (kDebugMode) {
print("Failed to get battery level: '${e.message}'.");
}
return 0;
}
}