@override Object toJson() => { 'targetShape': ?targetShape, if (zones.isNotDefault) 'zones': [for (final i in zones) i.toJson()], };