value function

State value(
  1. String type,
  2. String value
)

Implementation

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