toMap method
定義例:
Map<String, Object> toMap() { return { 'stateA': stateA, 'stateB': stateB, 'stateC': stateC, }; }
Implementation
@override
Map<String, Object> toMap() {
return {
'wrapped': wrapped,
'classLocation': classLocation,
'functionLocation': functionLocation,
'monitor': monitor,
'debug': debug,
'historyList': historyList,
};
}