skip to Main Content

Flutter – I am getting a type 'List<dynamic>' is not a subtype of type 'List<String >' in type cast

I am creating a flutter app and this is the part of code where i am getting the error. I am using flutter_riverpod package as my provider import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:twitter_clone/common/common.dart'; import 'package:twitter_clone/features/tweet/controller/tweet_controller.dart'; class TweetList extends ConsumerWidget {…

VIEW QUESTION

Appwrite event subscription in React Native

When I subscribe to realtime events in my React Native application. I get the error below. ERROR Error: URLSearchParams.set is not implemented, js engine: hermes. appwriteClient .subscribe( `databases.${APPWRITE_DATABASE_ID}.collections.${APPWRITE_OPPORTUNITIES_COLLECTION_ID}.documents`, (response: any) => { if (response.events.includes( 'databases.*.collections.*.documents.*.create' )) { setOpportunities((prevOpportunities: any[]) =>…

VIEW QUESTION
Back To Top
Search