IsRegexSupportedResult constructor
IsRegexSupportedResult({
- required bool isSupported,
- 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,
);