toLegacyElementIfOptOut<T extends Element> abstract method

  1. @Deprecated('Only non-nullable by default mode is supported')
T toLegacyElementIfOptOut<T extends Element>(
  1. T element
)

If a legacy library, returns the legacy view on the element.

Otherwise, return the original element.

Implementation

@Deprecated('Only non-nullable by default mode is supported')
T toLegacyElementIfOptOut<T extends Element>(T element);