setAccessibilityLabel method

  1. @ControllerProps(NodeProps.kPropAccessibilityLabel)
void setAccessibilityLabel(
  1. T viewModel,
  2. String? accessibilityLabel
)

Implementation

@ControllerProps(NodeProps.kPropAccessibilityLabel)
void setAccessibilityLabel(T viewModel, String? accessibilityLabel) {
  viewModel.accessibilityLabel = accessibilityLabel ?? "";
}