as<T> static method

T as<T>(
  1. T? value
)

Implementation

static T as<T>(T? value) => value as T;