toMap method

Map toMap()

Conversion to Map

Implementation

Map toMap() {
  Map map = Map();
  if (label != null) map[_LABEL] = label;
  if (action != null) map[_ACTION] = action;
  if (topics != null) map[_TOPICS] = topics;
  return map;
}