castFn method

String? castFn(
  1. dynamic v
)
override

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()}';
}