MessagePayload<Data> class abstract

A custom built value for MessagePayloadRule

Implemented types
Annotations
  • @BuiltValue()

Constructors

MessagePayload([void updates(MessagePayloadBuilder<Data> b)?])
factory

Properties

data → Data?
The data message payload.
no setter
hashCode int
The hash code for this object.
no setterinherited
notification NotificationPayload?
The notification message payload.
no setterinherited
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
rebuild(dynamic updates(MessagePayloadBuilder<Data>)) MessagePayload<Data>
Rebuilds the instance.
inherited
toBuilder() MessagePayloadBuilder<Data>
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<MessagePayload>
no setter