getWindowAvoidArea static method
Implementation
static getWindowAvoidArea(AvoidAreaType type) async {
final result = await avoidAreaMethod.invokeMethod<String>(
'getWindowAvoidArea', type.index);
var avoidArea = AvoidArea.fromJson(json.decode(result!));
return avoidArea;
}