BlogPage.fromJson constructor

BlogPage.fromJson(
  1. String source
)

This is will help us to create object from json input

Implementation

factory BlogPage.fromJson(String source) =>
    BlogPage.fromMap(json.decode(source));