getScreenSnapShot method
Implementation
@override
Future<bool?> getScreenSnapShot({required String fileName, required String filePath}) async{
var optionMap = <String, String?>{};
optionMap.putIfAbsent("fileName", () => fileName );
optionMap.putIfAbsent("filePath", () => filePath);
return await methodChannel.invokeMethod('screenCapture', optionMap);
}