DecryptedFlatRateTarification.fromJSON constructor

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

Implementation

factory DecryptedFlatRateTarification.fromJSON(Map<String, dynamic> data) {
	return DecryptedFlatRateTarification(
		code: (data["code"] as String?),
		flatRateType: data["flatRateType"] == null ? null : FlatRateType.fromJSON(data["flatRateType"]),
		label: (data["label"] as Map<String, dynamic>?)?.map((k0, v0) => MapEntry((k0 as String), (v0 as String))),
		valorisations: (data["valorisations"] as List<dynamic>).map((x0) => DecryptedValorisation.fromJSON(x0) ).toList(),
		encryptedSelf: (data["encryptedSelf"] as Base64String?)
	);
}