Destination.fromJson constructor
Implementation
factory Destination.fromJson(Map<String, dynamic> json) {
return Destination(
destinationId: json['destinationId'] as String,
destinationType: (json['destinationType'] as String).toDestinationType(),
status: (json['status'] as String).toPublishingStatus(),
);
}