VolumeAccessInfoEpub.fromJson constructor

VolumeAccessInfoEpub.fromJson(
  1. Map json_
)

Implementation

VolumeAccessInfoEpub.fromJson(core.Map json_)
    : this(
        acsTokenLink: json_.containsKey('acsTokenLink')
            ? json_['acsTokenLink'] as core.String
            : null,
        downloadLink: json_.containsKey('downloadLink')
            ? json_['downloadLink'] as core.String
            : null,
        isAvailable: json_.containsKey('isAvailable')
            ? json_['isAvailable'] as core.bool
            : null,
      );