ResponseMessage class abstract

Inheritance

Constructors

ResponseMessage(SidecarResponse response, {required String id})
const
factory
ResponseMessage.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$ResponseMessageCopyWith<_$ResponseMessage>
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setter
response SidecarResponse
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult request(RequestMessage value), required TResult response(ResponseMessage value), required TResult notification(NotificationMessage value), required TResult log(LogMessage value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? request(RequestMessage value)?, TResult? response(ResponseMessage value)?, TResult? notification(NotificationMessage value)?, TResult? log(LogMessage value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult request(RequestMessage value)?, TResult response(ResponseMessage value)?, TResult notification(NotificationMessage value)?, TResult log(LogMessage value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult request(SidecarRequest request, String id)?, TResult response(SidecarResponse response, String id)?, TResult notification(SidecarNotification notification)?, TResult log(LogRecord record)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEncodedJson() String
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult request(SidecarRequest request, String id), required TResult response(SidecarResponse response, String id), required TResult notification(SidecarNotification notification), required TResult log(LogRecord record)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? request(SidecarRequest request, String id)?, TResult? response(SidecarResponse response, String id)?, TResult? notification(SidecarNotification notification)?, TResult? log(LogRecord record)?}) → TResult?
inherited

Operators

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