State value(String type, String value) { const template = ''' {{@accept}} '''; final state = OperationState(type, template, result: value); return state; }