getServerTimestampBehaviorString function
Implementation
String getServerTimestampBehaviorString(
ServerTimestampBehavior serverTimestampBehavior,
) {
switch (serverTimestampBehavior) {
case ServerTimestampBehavior.none:
return 'none';
case ServerTimestampBehavior.estimate:
return 'estimate';
case ServerTimestampBehavior.previous:
return 'previous';
}
}