PostItemModel.fromJson constructor
PostItemModel.fromJson(
- String source
This is will help us to create object from json input
Implementation
factory PostItemModel.fromJson(String source) =>
PostItemModel.fromMap(json.decode(source));