forInternals
Provides default values for internal components.
Refer to CompositeAutofillProvider to read about customization possibilities.
By default, it provides:
For any Number - 0
For Boolean - false
For String - ""
For KClass - Any::class
For Result - Result.failure with IllegalStateException
For arrays - array with single element according to previous rules
For complex types:
Wasm - null
JS - empty object
{}
Native - reference to
object UnsafeValue
JVM:
value classes - instance created with reflection
other types - null