toMap method
Implementation
JsonMap toMap() => {
'identifier': identifier,
'vertices': vertices.map((v) => v.toMap()).toList(),
'notifyOnEntry': notifyOnEntry,
'notifyOnExit': notifyOnExit,
'notifyOnDwell': notifyOnDwell,
if (loiteringDelay != null) 'loiteringDelay': loiteringDelay,
if (extras != null) 'extras': extras,
};