CastPatternImpl constructor

CastPatternImpl({
  1. required DartPatternImpl pattern,
  2. required Token asToken,
  3. required TypeAnnotationImpl type,
})

Implementation

CastPatternImpl({
  required this.pattern,
  required this.asToken,
  required this.type,
}) {
  _becomeParentOf(pattern);
  _becomeParentOf(type);
}