YoutubeDataApi().fetchVideoData(widget.videoId) & YoutubeDataApi().fetchPlayListVideos(widget.videoId)
Opened this issue · 4 comments
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null.
E/flutter ( 5273): Receiver: null
E/flutter ( 5273): Tried calling:
E/flutter ( 5273): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
E/flutter ( 5273): #1 new VideoPage.fromMap (package:youtube_data_api/models/video_page.dart:47:167)
E/flutter ( 5273): #2 YoutubeDataApi.fetchVideoData (package:youtube_data_api/youtube_data_api.dart:435:28)
E/flutter ( 5273):
E/flutter ( 5273): #3 _VideoDetailPageState.showData (package:entertenment_hub/video_detail_page.dart:630:9)
E/flutter ( 5273):
Did you find a solution of this?
Yes, I created a PR.
Now I am working on a new project and I wonder why the PR hasn't been merged
I am facing this issue. Can someone please help me resolving it.
i got the issue when i gave video ids to this method but it did not get these videos by ids instead of this it gets related videos not the actual videos which ids i gave to this method.Any one help me to solve this