flutter_fbstorage_video_upload
flutter_fbstorage_video_upload copied to clipboard
Can you please help me fix these errors? may be its because of versions of flutter
Error 1 A value of type 'MediaInformation' can't be returned from the method 'getMediaInformation' because it has a return type of 'Future<Map<dynamic, dynamic>>'.
static Future<Map<dynamic, dynamic>> getMediaInformation( path) async {
assert(File(path).existsSync());
///error at _probe.getMediaInformation(path);
return await _probe.getMediaInformation(path);
}
Error 2 The argument type 'void Function(int, String)' can't be assigned to the parameter type 'void Function(Log)'.
static void enableLogCallback(
void Function(int level, String message) logCallback) {
///error at enableLogCallback(logCallback);
_config.enableLogCallback(logCallback);
}