method

Make a method in a UML class diagram.

Only possible for those that it makes sense such as class diagrams.

Parameters

m
Type: T

?

txt
Type: string

raw text representing the method.

Examples

auto m = new PlantumlModule;
class_ = m.classBody("A");
class_.method("void fun();");
auto m = new PlantumlModule;
auto class_ = m.classBody("A");
class_.method("void fun();");

Meta