fromUnrecognized

Constructs an image source with a generic Any instance. The source may be any non-null object. This is equivalent to calling one of ImageSource's type-specific factory methods when the source is a recognized type.

Return

the new image source

Parameters

source

the generic source

expect fun fromUnrecognized(source: Any): ImageSource
actual fun fromUnrecognized(source: Any): ImageSource

Constructs an image source with a generic Any instance. The source may be any non-null object. This is equivalent to calling one of ImageSource's type-specific factory methods when the source is a recognized type.

Return

the new image source

Parameters

source

the generic source

actual fun fromUnrecognized(source: Any): ImageSource

Constructs an image source with a generic Any instance. The source may be any non-null object. This is equivalent to calling one of ImageSource's type-specific factory methods when the source is a recognized type.

Return

the new image source

Parameters

source

the generic source