BlogLocale.fromJson constructor

BlogLocale.fromJson(
  1. String source
)

This is will help us to create object from json input

Implementation

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