getPublicMethodsFromClass function
Get the list of public MethodMirror from classMirror
Implementation
Map<String, FunctionMirror> getPublicMethodsFromClass(ClassMirror classMirror) {
var methods = <String, FunctionMirror>{};
classMirror.methods?.forEach((key, method) {
if (!key.startsWith('_')) methods[key] = method;
});
return methods;
}