Skip to content

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

@marc-walton

Description

@marc-walton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions