CedarPattern class final
Constructors
-
CedarPattern(List<
CedarPatternComponent> comps, {String? raw, List<Object?> ? jsonForm}) -
const
-
CedarPattern.from(List<
Object?> components, {String? raw, List<Object?> ? jsonForm}) -
factory
- CedarPattern.parse(String pattern)
-
factory
Properties
Methods
-
match(
String arg) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCedar(
) → String -
toJson(
) → List< Object?> -
Encode pattern components in the same shape as the Rust EST (
Vec<PatternElem>) format. -
toString(
{bool returnRaw = true}) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override