setPlaceholderValue method

  1. @override
void setPlaceholderValue(
  1. String placeholder,
  2. String value
)
override

setPlaceholderValue(String, String) takes two Strings to set a placeholder with a specified value.

The first argument must be a String which matches the placeholder's name in Brady Workstation where the template was created. The second argument must be a String representing the value you want to set to the placeholder.

Implementation

@override
void setPlaceholderValue(String placeholder, String value) {
  var sendMap = <String, dynamic>{"placeholder": placeholder, "value": value};
  methodChannel.invokeMethod('setPlaceholderValue', sendMap);
}