toMap method
- EnumMethod? enumMethod,
Converts instance to a map.
Implementation
Map<String, dynamic> toMap({EnumMethod? enumMethod}) {
return {"name": name, "value": value};
}
Converts instance to a map.
Map<String, dynamic> toMap({EnumMethod? enumMethod}) {
return {"name": name, "value": value};
}