Subscribe.fromResult constructor
Subscribe.fromResult(
- List<
RespType> ? result
Implementation
factory Subscribe.fromResult(List<RespType<dynamic>>? result) {
final _type = result![0].toBulkString().payload;
final _channel = result[1].toBulkString().payload;
final _message = result[2].toBulkString().payload;
return Subscribe(type: _type, channel: _channel, message: _message);
}