buildImage method
Implementation
Widget buildImage() {
return ClipRRect(
borderRadius: BorderRadius.circular(5.0),
child: Column(children: [
Image.network(
widget.message['notification_content']['attachments']['attachment']
.toString(),
height: 45,
width: 45,
fit: BoxFit.cover,
),
]),
);
}