Message class

A message that will be displayed with a Valuable

Constructors

Message({String? body, TimeInterval? displayInterval, String? header, String? id, String? kind, LocalizedString? localizedBody, LocalizedString? localizedHeader, String? messageType})
Message.fromJson(Map json_)

Properties

body String?
The message body.
getter/setter pair
displayInterval TimeInterval?
The period of time that the message will be displayed to users.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
The message header.
getter/setter pair
id String?
The ID associated with a message.
getter/setter pair
kind String?
Identifies what kind of resource this is.
getter/setter pair
localizedBody LocalizedString?
Translated strings for the message body.
getter/setter pair
localizedHeader LocalizedString?
Translated strings for the message header.
getter/setter pair
messageType String?
The message type. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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