Skip to content

OperationException(linkException: ResponseFormatException(originalException: type 'Null' is not a subtype of type 'String' in type cast  #415

Open
@Routee

Description

@Routee

image

if the backend throw a custom exception which message is null. This line:

error['message'] as String

will throw an excption. it's not the expected.

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