setTextSlot method

bool setTextSlot(
  1. String slotId,
  2. String text
)

Implementation

bool setTextSlot(String slotId, String text) {
  final document = JSObject();
  document['t'.toJS] = text.toJS;
  return _callSlotMethod('setTextSlot', slotId, document);
}