onCall method

  1. @override
Object? onCall(
  1. T instance,
  2. String methodName,
  3. Map<String, dynamic> parameters,
  4. TypeReflection? returnType,
)
override

Calls made through a ClassProxy will be intercepted by onCall implementation.

Implementation

@override
Object? onCall(
  T instance,
  String methodName,
  Map<String, dynamic> parameters,
  TypeReflection? returnType,
) {
  return targetListener.onCall(instance, methodName, parameters, returnType);
}