@override Map<String, dynamic> toJson() { final json = super.toJson(); json.addAll({'layout_weight': flex}); return json; }