cast method

T? cast(
  1. dynamic from
)

Implementation

T? cast(dynamic? from) {
  if (from == null) {
    return _castNull();
  } else {
    return _cast(from, "toplevel", null);
  }
}