Skip to content

NoSuchMethodError: Class 'ParseObject' has no instance method '[]'. #114

@pcg92

Description

@pcg92

I have a problem checking if there are a current user.

Steps to reproduce:
1º # a user
2º Close the app
3º Check for user = error

E/flutter (25299): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: NoSuchMethodError: Class 'ParseObject' has no instance method '[]'.
E/flutter (25299): Receiver: Instance of 'ParseObject'
E/flutter (25299): Tried calling: []("sessionToken")

parse_user.dart:377:45)

      if (userMap != null) {
        ParseCoreData().setSessionId(userMap[keyParamSessionToken]);

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions