platform property

  1. @Deprecated('Vestigial now that the global adapter slots are deprecated — nothing reads ' 'it. Will be removed in a future release.')
TargetPlatform get platform

The platform this adapter targets.

Vestigial: it only ever validated which global slot an adapter went into, and those slots are deprecated. Nothing reads it now — controllers are selected by type via Nutrient.addAdapterClass / NutrientDocumentView<T>.

Implementation

@Deprecated(
  'Vestigial now that the global adapter slots are deprecated — nothing reads '
  'it. Will be removed in a future release.',
)
TargetPlatform get platform;