toMap method

JsonMap toMap()

Implementation

JsonMap toMap() => {
      'type': type.name,
      'zone': zone.toMap(),
    };