toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allow != null) 'allow': allow!,
      if (block != null) 'block': block!,
      if (includeRecaptchaScript != null)
        'includeRecaptchaScript': includeRecaptchaScript!,
      if (redirect != null) 'redirect': redirect!,
      if (setHeader != null) 'setHeader': setHeader!,
      if (substitute != null) 'substitute': substitute!,
    };