BlogPage.fromMap constructor
This is will help us to create object from Map
Implementation
factory BlogPage.fromMap(Map<String, dynamic> map) {
return BlogPage(
totalItems: map['totalItems']?.toInt() ?? 0,
selfLink: map['selfLink'] ?? '',
);
}