allMethods method
Returns a List with all methods MethodReflection
.
Implementation
List<MethodReflection<O, dynamic>> allMethods([O? obj]) {
if (obj == null && object == null) {
return _allMethodsNoObject ??=
List<MethodReflection<O, dynamic>>.unmodifiable(
methodsNames.map((e) => method(e)!));
}
return methodsNames.map((e) => method(e, obj)!).toList();
}