Open2
FlutterアプリにAtlas Device Syncを導入する

この手順に従う

Flexible Sync requires MongoDB version 5.0 or later. You can use a free shared M0 cluster to explore and develop your app. We recommend that you use a dedicated tier cluster (M10 and above) for production applications. You cannot use sync with a serverless instance or Federated database instance.
serverlessだとDevice Syncは動かせないらしい