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