toCompatInsets

@RequiresApi(api = 29)
open fun toCompatInsets(@NonNull insets: Insets): Insets(source)

Return a copy of the given android.graphics.Insets instance, converted to be an Insets instance from AndroidX.