IsRegexSupportedResult constructor

IsRegexSupportedResult({
  1. required bool isSupported,
  2. UnsupportedRegexReason? reason,
})

Implementation

IsRegexSupportedResult({
  required bool isSupported,

  /// Specifies the reason why the regular expression is not supported. Only
  /// provided if `isSupported` is false.
  UnsupportedRegexReason? reason,
}) : _wrapped = $js.IsRegexSupportedResult(
        isSupported: isSupported,
        reason: reason?.toJS,
      );