まあ非常に単純な話ですが私が二度手間食らいたくないだけです toDate() つけるだけです。 Content は id と createdDate という項目があって これが DateTime で定義されている場合、Firebase からとってきてそのまま格納できないので toDate() をつけましょうね。
You have a litte helper extension on DateTime for formatting DateTime instance in this package named formattedTimeHm that you can use . text: the text of your message. This is a required String sentAt ...
この記事が気に入ったら、サポートをしてみませんか? 気軽にクリエイターの支援と、記事のオススメができます!