getNote method

  1. @override
Future<String> getNote()
override

Implementation

@override
Future<String> getNote() async {
  try {
    final result = await _methodChannel.invokeMethod('getNote');
    return result ?? "";
  } on PlatformException catch (e) {
    throw Exception("Error Retrieving Current Note: ${e.message}");
  }
}