for(int i = 0; int.parse(data['bedsAvailable']) > i; i++)
//if((data.data() as Map)['boarderId'+'1'] != null)
Padding(
padding: EdgeInsets.all(16).copyWith(bottom: 0),
child: Text(data['boarderId'+i.toString()],
style: TextStyle(fontSize: 16,fontWeight: FontWeight.bold, color: Colors.green),
),
)
In every boarder Entered the room new boarderId created in the firestore.
I would like to display all the data in everyBoarderId in every loop.