unsafeCast function

Expression unsafeCast(
  1. Expression expression, [
  2. OutputType? cast
])

Returns unsafeCast<{Cast}>(expression).

Implementation

o.Expression unsafeCast(o.Expression expression, [o.OutputType? cast]) {
  return _unsafeCastFn.callFn(
    [expression],
    typeArguments: cast != null ? [cast] : const [],
  );
}