toMap method
- EnumMethod? enumMethod,
Implementation
Map<String, Map<String, dynamic>> toMap({EnumMethod? enumMethod}) {
return {
"trigger": trigger.toMap(enumMethod: enumMethod),
"action": action.toMap(enumMethod: enumMethod),
};
}
Map<String, Map<String, dynamic>> toMap({EnumMethod? enumMethod}) {
return {
"trigger": trigger.toMap(enumMethod: enumMethod),
"action": action.toMap(enumMethod: enumMethod),
};
}