1. 首页
  2. 数据库
  3. 其它
  4. mock_cloud_firestore:模拟云Firestore 源码

mock_cloud_firestore:模拟云Firestore 源码

上传者: 2021-02-24 14:14:35上传 ZIP文件 22.42KB 热度 8次
模拟云Firestore 我发现测试cloud_firestore的最佳方法是使用Firestore.channel.setMockMethodCallHandler 。 但这需要Firebase协议的知识。 此实现尝试提供更简单的方法。 首先将Firestore数据定义为json String source = r""" { "goals": { "1": { "$": "Goal", "id": "1", "taskId": "1", "projectId": "1", "profileId": "1",
用户评论