Time:03-03
How can I access the "Message" field inside the e
CodePudding user response:
You need e.response?.data["Message"]
e.response?.data["Message"]
Just add on DioError before catch
try { } on DioError catch (e) { log(e.message); }
Page link:https//www.codepudding.com/Enterprise/320959.html