asLongValueOrNull

Casts this DocumentAttributeValue as a LongValue and retrieves its kotlin.Long value. Returns null if the DocumentAttributeValue is not a LongValue.