EncryptedEpisode.fromJSON constructor

EncryptedEpisode.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory EncryptedEpisode.fromJSON(Map<String, dynamic> data) {
	return EncryptedEpisode(
		(data["id"] as String),
		name: (data["name"] as String?),
		comment: (data["comment"] as String?),
		startDate: (data["startDate"] as int?),
		endDate: (data["endDate"] as int?),
		encryptedSelf: (data["encryptedSelf"] as Base64String?),
	);
}