reflectableNoSuchMethodError function Null safety

dynamic reflectableNoSuchMethodError(
  1. Object? receiver,
  2. String memberName,
  3. List positionalArguments,
  4. Map<Symbol, dynamic>? namedArguments
)

Implementation

dynamic reflectableNoSuchMethodError(Object? receiver, String memberName,
    List positionalArguments, Map<Symbol, dynamic>? namedArguments) {
  throw ReflectableNoSuchMethodError(receiver, memberName, positionalArguments,
      namedArguments, StringInvocationKind.method);
}