PayloadModel.fromJson constructor

PayloadModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PayloadModel.fromJson(Map<String, dynamic> json) => PayloadModel(
      title: json["title"],
      body: json["body"],
    );