return_type_switch library Null safety

Functions

returnTypeSwitch<T>(DartType stateType, MethodElement element, {T same()?, T stream()?, T future()?, T futureOr()?, required T orElse()}) → T