ChannelProfileWebWidgetConfigSecuritySettings.fromJson constructor

ChannelProfileWebWidgetConfigSecuritySettings.fromJson(
  1. Map json_
)

Implementation

ChannelProfileWebWidgetConfigSecuritySettings.fromJson(core.Map json_)
  : this(
      allowedOrigins: (json_['allowedOrigins'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      enableOriginCheck: json_['enableOriginCheck'] as core.bool?,
      enablePublicAccess: json_['enablePublicAccess'] as core.bool?,
      enableRecaptcha: json_['enableRecaptcha'] as core.bool?,
    );