firestoreCollectionKeyFromNodeId static method

String? firestoreCollectionKeyFromNodeId(
  1. String nodeId
)

Extract the collection key from a Firestore collection node ID. Returns null if the node ID is not a Firestore collection node.

Implementation

static String? firestoreCollectionKeyFromNodeId(String nodeId) =>
    _firestoreCollection.extractKey(nodeId);