encode static method

Map<String, dynamic> encode(
  1. DecryptedFlatRateTarification value
)
override

Implementation

static Map<String, dynamic> encode(DecryptedFlatRateTarification value) {
	Map<String, dynamic> entityAsMap = {
		"code" : value.code,
		"flatRateType" : value.flatRateType == null ? null : FlatRateType.encode(value.flatRateType!),
		"label" : value.label?.map((k0, v0) => MapEntry(k0, v0)),
		"valorisations" : value.valorisations.map((x0) => DecryptedValorisation.encode(x0)).toList(),
		"encryptedSelf" : value.encryptedSelf
	};
	return entityAsMap;
}