Method that's not a service

I want to create a method, without listing it in API services, I just need it inside the class.
if I didn’t set the route and parameter above the method and make the method static, like this example:

   static someMethod() async {
            /**code**/
    }

will this be accessed as an API service?

another question, when calling this method inside the class, it will be counted as a request?
ex: await ClassName.someMethod()

Hello @adel_kasno,

you can mark such method as a private using JSDocs:

  /**
   * @private
   */
  static async someMethod() {
    /**code**/
  }

another question, when calling this method inside the class, it will be counted as a request?

No, it will not.

Cheers,
Stanislaw