toSdkValue
The platform SDK's value for a value of one of the nativeTypes, or a com.google.firebase.Timestamp, that the format writes: on a platform whose SDK has its own classes for them (the JS and iOS SDKs) the SDK's instance, which the SDK then takes as it is; value itself where the SDK takes the module's classes (the Android SDK and firebase-java-sdk, whose classes they are).