visitDefaultFormalParameter method

  1. @override
Map? visitDefaultFormalParameter(
  1. DefaultFormalParameter node
)
override

Implementation

@override
Map? visitDefaultFormalParameter(DefaultFormalParameter node) {
  var type = (node.parameter as SimpleFormalParameter?)?.type;
  return _buildSimpleFormalParameter(
      _visitNode(type), node.name?.lexeme, node.isNamed);
}