toJsonDestination function

JsonDestination toJsonDestination(
  1. int? index
)

Implementation

JsonDestination toJsonDestination(int? index) {
  if (index == 0) return JsonDestination.clipboard;
  if (index == 1) return JsonDestination.memberMedium;
  return JsonDestination.url;
}