visitMapLiteralEntry method

  1. @override
bool visitMapLiteralEntry (MapLiteralEntry node)
override

Implementation

@override
bool visitMapLiteralEntry(MapLiteralEntry node) {
  if (identical(node.key, _oldNode)) {
    node.key = _newNode as Expression;
    return true;
  } else if (identical(node.value, _oldNode)) {
    node.value = _newNode as Expression;
    return true;
  }
  return visitNode(node);
}