jonataslaw / jonataslaw/VideoCompress
Unhandled Exception: type 'Future<String?>' is not a subtype of type 'FutureOr<String>' in type cast
Open
- Dominant language
- Swift
- Stars
- 262
- Forks
- 344
- PR merge metrics
- No merged PRs in 30d
Description
Hi, a found a bug here:
Future getMediaInfo(String path) async {
**final jsonStr = await (_invoke('getMediaInfo', {'path': path}) as FutureOr);**
final jsonMap = json.decode(jsonStr);
return MediaInfo.fromJson(jsonMap);
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.