EpubMetadata.fromJson constructor
EpubMetadata.fromJson(
- Map<String, dynamic> json
)
Implementation
factory EpubMetadata.fromJson(Map<String, dynamic> json) {
return EpubMetadata(
title: json['title'] as String?,
author: json['author'] as String?,
language: json['language'] as String?,
identifier: json['identifier'] as String?,
publisher: json['publisher'] as String?,
description: json['description'] as String?,
date: json['date'] as String?,
subject: json['subject'] as String?,
coverImage: json['coverImage'] as String?,
);
}