Author.fromJson constructor

Author.fromJson(
  1. String source
)

This is will help us to create object from json input

Implementation

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