create static method

InputValue create({
  1. String value = '',
  2. bool isRequired = true,
})

Implementation

static InputValue create({
  String value = '',
  bool isRequired = true,
}) {
  return InputValue._(
    key: UniqueKey(),
    isRequired: isRequired,
    value: value,
  );
}