CodeDeliveryDetailsType.fromJson constructor

CodeDeliveryDetailsType.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CodeDeliveryDetailsType.fromJson(Map<String, dynamic> json) {
  return CodeDeliveryDetailsType(
    attributeName: json['AttributeName'] as String?,
    deliveryMedium:
        (json['DeliveryMedium'] as String?)?.toDeliveryMediumType(),
    destination: json['Destination'] as String?,
  );
}