Method.copy constructor

Method.copy(
  1. Method method
)

Implementation

Method.copy(Method method)
    : name = method.name,
      returnType = method.returnType,
      parameters = method.parameters,
      ignoreError = method.ignoreError,
      codeComments = method.codeComments,
      isAsync = method.isAsync;