Notice class abstract

Notice

Properties:

  • id - Notice ID
  • sysAdminOnly - Does this notice apply only to sysadmins
  • teamAdminOnly - Does this notice apply only to team admins
  • action - Optional action to perform on action button click. (defaults to closing the notice)
  • actionParam - Optional action parameter. Example: {"action": "url", actionParam: "/console/some-page"}
  • actionText - Optional override for the action button text (defaults to OK)
  • description - Notice content. Use {{Mattermost}} instead of plain text to support white-labeling. Text supports Markdown.
  • image - URL of image to display
  • title - Notice title. Use {{Mattermost}} instead of plain text to support white-labeling. Text supports Markdown.

Constructors

Notice([void updates(NoticeBuilder b)])
factory

Properties

action String?
Optional action to perform on action button click. (defaults to closing the notice)
no setter
actionParam String?
Optional action parameter. Example: {"action": "url", actionParam: "/console/some-page"}
no setter
actionText String?
Optional override for the action button text (defaults to OK)
no setter
description String?
Notice content. Use {{Mattermost}} instead of plain text to support white-labeling. Text supports Markdown.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
Notice ID
no setter
image String?
URL of image to display
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sysAdminOnly bool?
Does this notice apply only to sysadmins
no setter
teamAdminOnly bool?
Does this notice apply only to team admins
no setter
title String?
Notice title. Use {{Mattermost}} instead of plain text to support white-labeling. Text supports Markdown.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(NoticeBuilder)) Notice
Rebuilds the instance.
inherited
toBuilder() NoticeBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Notice>
no setter