buttons property

List<NotificationButton>? get buttons

Text and icons for up to two notification action buttons.

Implementation

List<NotificationButton>? get buttons => _wrapped.buttons?.toDart
    .cast<$js.NotificationButton>()
    .map((e) => NotificationButton.fromJS(e))
    .toList();
set buttons (List<NotificationButton>? v)

Implementation

set buttons(List<NotificationButton>? v) {
  _wrapped.buttons = v?.toJSArray((e) => e.toJS);
}