getFrequency method
Implementation
@override
Future<double> getFrequency() async {
try {
return await _methodChannel.invokeMethod('getFrequency');
} on PlatformException catch (e) {
throw Exception("Error Retrieving Frequency: ${e.message}");
}
}