INNER CODE UNIT · Dart
NotImplementedException
passsy/kt.dart · lib/standard.dart:18
Never TODO([String? reason]) => throw NotImplementedException(reason);
extension StandardKt<T> on T {
/// Calls the specified function [block] with `this` value as its argument and returns its result.
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
R let<R>(R Function(T) block) {
return block(this as T);
}
/// Calls the specified function [block] with `this` value as its argument and returns `this` value.
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
T also(void Function(T) block) {
block(this as T);
return this as T;
}