encodeToBundle
@ExperimentalSerializationApi
Encodes the given value to a Bundle using the provided serializer of type T.
Parameters
T
The type of the value to encode
value
The value to encode
serializer
The serializer to use
Encodes the given value to a Bundle using the provided serializer of type T.
The type of the value to encode
The value to encode
The serializer to use