Skip to content

Unhandled Exception: type '_Map<String, dynamic>' is not a subtype of type 'GeoPoint' #35

@Lsinkololwe

Description

@Lsinkololwe

Team i'm encountering the below error coming from the collection .dart file.

E/flutter ( 9784): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type '_Map<String, dynamic>' is not a subtype of type 'GeoPoint'
E/flutter ( 9784): #0 GeoFireCollectionRef._buildQueryStream.. (package:geoflutterfire2/src/collection.dart:124:24)

The code in the library on line 124 is

final GeoPoint geoPoint = geoPointField['geopoint'];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions