change title work
This commit is contained in:
parent
ce489bc86a
commit
2c6a1a1686
@ -85,9 +85,9 @@ class _ItemMenuState extends State<ItemMenu> with ShowErrorDialog {
|
|||||||
stderr.writeln('Response Get status: ${responseGet.statusCode}');
|
stderr.writeln('Response Get status: ${responseGet.statusCode}');
|
||||||
if (responseGet.statusCode == 200) {
|
if (responseGet.statusCode == 200) {
|
||||||
stderr.writeln('Username : ${responseGet.body}');
|
stderr.writeln('Username : ${responseGet.body}');
|
||||||
Events events = jsonDecode(utf8.decode(responseGet.bodyBytes));
|
var events = jsonDecode(utf8.decode(responseGet.bodyBytes));
|
||||||
print(events.name);
|
print(events["name"]);
|
||||||
former = events.name!;
|
former = events["name"];
|
||||||
} else {
|
} else {
|
||||||
var text = "";
|
var text = "";
|
||||||
switch (responseGet.statusCode) {
|
switch (responseGet.statusCode) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user