methods property

Map<String, Function> methods
final

Stores all the methods of this.

The Map.keys stores the identifiers of the methods and Map.values stores the method implementation.

Note: This should not be included in the toMap implementation.

Implementation

final Map<String, Function> methods = {};