PutDestinationResponse.fromJson constructor

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

Implementation

factory PutDestinationResponse.fromJson(Map<String, dynamic> json) {
  return PutDestinationResponse(
    destination: json['destination'] != null
        ? Destination.fromJson(json['destination'] as Map<String, dynamic>)
        : null,
  );
}