castFn method
convierte un valor dado al tipo definido para objeto
Implementation
String? castFn(v) {
if (v == null || v is String) {
return v;
}
throw 'LinkData:CastFn: Imposible convertir a tipo link desde ${v.runtimeType.toString()}';
}