isPropertySupported static method

bool isPropertySupported(
  1. dynamic property, {
  2. TargetPlatform? platform,
})

Check if the given property is supported by the defaultTargetPlatform or a specific platform. The property should be one of the PlatformPrintJobControllerProperty or PlatformPrintJobControllerCreationParamsProperty values.

Implementation

static bool isPropertySupported(
  dynamic property, {
  TargetPlatform? platform,
}) => PlatformPrintJobController.static().isPropertySupported(
  property,
  platform: platform,
);