toMap method

Map toMap()

Implementation

Map toMap() {
  return {
    "_id": id,
    "name": name,
    "_type": type,
    "properties": props.clone(),
    "actions": actions.clone(),
  };
}