Skip to content

google_maps_apis version Exception #68

@jansvanda

Description

@jansvanda

I am getting this error with the version starting 3.x.x
../../.pub-cache/hosted/pub.dev/google_maps_apis-4.0.0/lib/src/new/utils/custom_parser_error_logger.dart:8:8: Error: The method 'CustomParseErrorLogger.logError' has fewer positional arguments than those of overridden method 'ParseErrorLogger.logError'. void logError(Object error, StackTrace stackTrace, RequestOptions options) { ^ ../../.pub-cache/hosted/pub.dev/retrofit-4.9.1/lib/error_logger.dart:11:8: Context: This is the overridden method ('logError'). void logError(Object error, StackTrace stackTrace, RequestOptions options, Response response); ^ ../../.pub-cache/hosted/pub.dev/google_maps_apis-4.0.0/lib/src/new/service/places_service_new.g.dart:51:28: Error: Too few positional arguments: 4 required, 3 given. errorLogger?.logError(e, s, _options); ^ ../../.pub-cache/hosted/pub.dev/google_maps_apis-4.0.0/lib/src/new/service/places_service_new.g.dart:89:28: Error: Too few positional arguments: 4 required, 3 given. errorLogger?.logError(e, s, _options); ^ ../../.pub-cache/hosted/pub.dev/google_maps_apis-4.0.0/lib/src/new/service/places_service_new.g.dart:127:28: Error: Too few positional arguments: 4 required, 3 given. errorLogger?.logError(e, s, _options); ^ ../../.pub-cache/hosted/pub.dev/google_maps_apis-4.0.0/lib/src/new/service/places_service_new.g.dart:165:28: Error: Too few positional arguments: 4 required, 3 given. errorLogger?.logError(e, s, _options); ^ Target kernel_snapshot_program failed: Exception

When switching back to 2.0.3, it compiles.

Any idea what is this issue? I spent few hours already trying to find the problem...

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