Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'inputStoryAreas', if (extra != null) '@extra': extra, 'areas': areas }; }