Open marc-walton opened 2 years ago
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); }
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>>'.
Error 2 The argument type 'void Function(int, String)' can't be assigned to the parameter type 'void Function(Log)'.