Edition.fromJson constructor

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

Constructs a new Edition object from a JSON representation.

  • json: A JSON map representing the Edition object.

Implementation

Edition.fromJson(Map<String, dynamic> json)
    : identifier = json['identifier'] as String,
      language = json['language'] as String,
      name = json['name'] as String,
      englishName = json['englishName'] as String,
      format = json['format'] as String,
      type = json['type'] as String;