Я пытаюсь использовать значение myAddress / myPcode на другой странице.
crudObj.getDataFromUserFromDocument().then((value) {
Map<String, dynamic> dataMap = value
.data;
setState(() {
_fullNames = dataMap['name'];
profilPicture = dataMap['picture'];
_notificationValue = dataMap['notification'];
myAddress = dataMap['address'];
myPcode = dataMap['postalCode'];
print(myPcode);
print(myAddress);
});
});
}