toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final customConsentText = this.customConsentText;
  final customMessage = this.customMessage;
  final nameRequired = this.nameRequired;
  final optInRequired = this.optInRequired;
  final title = this.title;
  return {
    'customConsentText': ?customConsentText,
    'customMessage': ?customMessage,
    'nameRequired': ?nameRequired,
    'optInRequired': ?optInRequired,
    'title': ?title,
  };
}