INNER CODE UNIT · Dart
NotImplementedException
passsy/kt.dart · lib/standard.dart:4
class NotImplementedException implements Exception {
NotImplementedException([String? message])
: message = message ?? "An operation is not implemented.";
final String message;
@override
String toString() => "Exception: $message";
}
/// Always throws [NotImplementedException] stating that operation is not implemented.
@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
// ignore: non_constant_identifier_names
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.