<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>surfi8000</author_name>
  <author_url>https://blog.hatena.ne.jp/surfi8000/</author_url>
  <blog_title>調べたことをまとめるブログ</blog_title>
  <blog_url>https://corycory.hateblo.jp/</blog_url>
  <categories>
    <anon>Firebase</anon>
    <anon>Flutter</anon>
  </categories>
  <description>Flutter×Firestore周りのメモです。 今回は、 ドキュメントIDが既に存在するかどうかをチェックして、していなければ新たにデータを登録する という処理。 import 'package:cloud_firestore/cloud_firestore.dart'; final _userRef = Firestore.instance.collection('users'); _userRef.document(${documentID}).snapshots().listen((snapshot) { if (!snapshot.exists) { //登録されてない新しいドキュ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcorycory.hateblo.jp%2Fentry%2Ffirebase%2Fflutter-firestore-add-data-documentid%2F&quot; title=&quot;【Flutter / Firestore】ドキュメントIDを指定してデータを登録 - 調べたことをまとめるブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-17 16:10:43</published>
  <title>【Flutter / Firestore】ドキュメントIDを指定してデータを登録</title>
  <type>rich</type>
  <url>https://corycory.hateblo.jp/entry/firebase/flutter-firestore-add-data-documentid/</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
