push method

Context push (
  1. Map<String, dynamic> variables
)
override

Implementation

Context push(Map<String, dynamic> variables) {
  final context = Context._();
  context.blocks = Map.from(blocks);
  context.tags = Map.from(tags);
  context.filters = Map.from(filters);
  context.variables = Map.from(this.variables);
  context.variables.addAll(variables);
  context.parent = this;
  return context;
}