Reference constructor

Reference(
  1. FirestoreGateway _gateway,
  2. String path
)

Implementation

Reference(this._gateway, String path)
    : path = _trimSlashes(path.startsWith(_gateway.database)
          ? path.substring(_gateway.database.length + 1)
          : path);