RealtimeMessage class

Constructors

RealtimeMessage({required List<String> events, required Map<String, dynamic> payload, required List<String> channels, required String timestamp})
RealtimeMessage.fromJson(String source)
factory
RealtimeMessage.fromMap(Map<String, dynamic> map)
factory

Properties

channels List<String>
final
events List<String>
final
hashCode int
The hash code for this object.
no setteroverride
payload Map<String, dynamic>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp String
final

Methods

copyWith({List<String>? events, Map<String, dynamic>? payload, List<String>? channels, String? timestamp}) RealtimeMessage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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