method

Name of the method to be generated.

Example:
Given the value getGreeting, will generate the following:

void getGreeting({
// Code omitted for brevity...
}) => doEvent<String>(
// Code omitted for brevity...
);