flutter_fbstorage_video_upload icon indicating copy to clipboard operation
flutter_fbstorage_video_upload copied to clipboard

Can you please help me fix these errors? may be its because of versions of flutter

Open marc-walton opened this issue 3 years ago • 0 comments

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);
  }

marc-walton avatar Jan 21 '22 22:01 marc-walton