Skip to content

am found the solutions #18

@ANKIT077-IND

Description

@ANKIT077-IND

@Mixpeal issue is that casting issue, can do that in debugPrint convert into toString in sendPayment() method.

if (response.statusCode == 200) {
debugPrint(body.toString());
return {'error': false, 'message': body};
} else {
String? message = body["errors"]?[0]?["description"].toString();
debugPrint(message.toString());
return {'error': true, 'message': message};
}

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