SDiffCommand class final

Represents the 'SDIFF key key ...' command. Returns the members of the set resulting from the difference between the first set and all the successive sets.

Redis Command:

SDIFF set1 set2

Redis Reply (Example):

*1
$7
member2

Dart Result (from parse method): List<String> resolving to ['member2']

Inheritance
Mixed-in types

Constructors

SDiffCommand(List<String> keys)

Properties

commandParts List<String>
The command and its arguments, to be implemented by each subclass.
no setteroverride
encoded List<int>
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
keys List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyPrefix(String prefix) ValkeyCommand<List<String>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(dynamic data) List<String>
The parser for the response, to be implemented by each subclass.
override
toString() String
A string representation of this object.
inherited

Operators

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