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