firebase-multiplatform
Toggle table of contents
0.3.0
common
Target filter
common
Switch theme
Search in API
Skip to content
firebase-multiplatform
firebase-ai
/
com.google.firebase.ai.type
/
asFileDataOrNull
as
File
Data
Or
Null
fun
Part
.
asFileDataOrNull
(
)
:
FileDataPart
?
(
source
)
Returns the part as a
FileDataPart
if it represents a file, and null otherwise