Skip to content

Visual Recognition  #2

@cronnysousa

Description

@cronnysousa

await not working, I solved the problem

put the code below on line 189 on the File VisualRecognition.dart

var value =await response.stream.bytesToString();
dynamic result;
result = json.decode(value);
classifiedImages = new ClassifiedImages(result);
return classifiedImages;

you may found better solution yourself but if you update your lib will work

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