getWindowAvoidArea static method

dynamic getWindowAvoidArea(
  1. AvoidAreaType type
)

Implementation

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