sendHeight method

  1. @override
Future sendHeight()
override

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;
  }
}