DecryptedEpisode.fromJSON constructor

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

Implementation

factory DecryptedEpisode.fromJSON(Map<String, dynamic> data) {
	return DecryptedEpisode(
		(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?),
	);
}