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

comps List<CedarPatternComponent>
final
hashCode int
The hash code for this object.
no setteroverride
jsonForm List<Object?>?
final
raw String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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