NewsletterConfig.fromJson constructor

NewsletterConfig.fromJson(
  1. Map json_
)

Implementation

NewsletterConfig.fromJson(core.Map json_)
  : this(
      customConsentText: json_['customConsentText'] as core.String?,
      customMessage: json_['customMessage'] as core.String?,
      nameRequired: json_['nameRequired'] as core.bool?,
      optInRequired: json_['optInRequired'] as core.bool?,
      title: json_['title'] as core.String?,
    );