getSampleRate method
Implementation
@override
Future<int> getSampleRate() async {
try {
return await _methodChannel.invokeMethod('getSampleRate');
} on PlatformException catch (e) {
throw Exception("Sample Rate Read Error: ${e.message}");
}
}