updateStyle method

void updateStyle(
  1. String selector,
  2. Map<String, String> style
)

Send a style update

Implementation

void updateStyle(String selector, Map<String, String> style) {
  final changes = [
    {
      'action': 'update_style',
      'selector': selector,
      'style': style,
    }
  ];
  sendInstantUIUpdate(changes);
}