Map<String, dynamic> toMap() { return <String, dynamic>{ 'notMandatory': ?notMandatory, 'unstructured': ?unstructured, }; }