How to implement...

Functions

ReturnType functionName() {
    ...
}

Arrays

An array of WordPair objects would be

pairs = <WordPair>[]

Private variables/functions

Private variables and functions are preceded by an underscore

_privateVariableName

_privateFunctionName()

Last updated

Was this helpful?