MyNotification class sealed

Implementers
Annotations
  • @freezed

Constructors

MyNotification.aria2({required String gid, required MyEvent event})
const
factory
MyNotification.websocketClosed()
const
factory
MyNotification.webSocketConnected()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult aria2(MyNotification_Aria2 value), required TResult webSocketConnected(MyNotification_WebSocketConnected value), required TResult websocketClosed(MyNotification_WebsocketClosed value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? aria2(MyNotification_Aria2 value)?, TResult? webSocketConnected(MyNotification_WebSocketConnected value)?, TResult? websocketClosed(MyNotification_WebsocketClosed value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult aria2(MyNotification_Aria2 value)?, TResult webSocketConnected(MyNotification_WebSocketConnected value)?, TResult websocketClosed(MyNotification_WebsocketClosed value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult aria2(String gid, MyEvent event)?, TResult webSocketConnected()?, TResult websocketClosed()?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult aria2(String gid, MyEvent event), required TResult webSocketConnected(), required TResult websocketClosed()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? aria2(String gid, MyEvent event)?, TResult? webSocketConnected()?, TResult? websocketClosed()?}) → TResult?
inherited

Operators

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