skip to Main Content

type 'String' is not a subtype of type 'Map<dynamic, dynamic>' in type cast Flutter realtime database

When i create a realtime database table, then i get the table datas, but i got and i changed the method and tried Map data = snapshot.value as Map import 'dart:convert'; import 'package:firebase_database/firebase_database.dart'; import 'package:firebase_database/ui/firebase_animated_list.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; class…

VIEW QUESTION

Flutter – firebase_database/unknown : Could not convert Error

I'm trying to send data to a Firebase Realtime database, but when I'm trying to write I get an error that says [firebase_database/unknown] Could not convert. Here is the stack tree: [firebase_database/unknown] Could not convert dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49 throw_ packages/firebase_database_web/src/interop/utils/utils.dart 92:5…

VIEW QUESTION
Back To Top
Search