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