LibraryPayload.fromJson constructor

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

Implementation

factory LibraryPayload.fromJson(Map<String, dynamic> json) => LibraryPayload(
  type: json["type"],
  payload: json["payload"],
);