Dart Documentationredis_protocol_transformerIntegerReply

IntegerReply class

Used for integer replies

class IntegerReply extends _OneLineReply {

 /// Returns the integer received with this reply.
 int get integer => int.parse(_getLine());

 String toString() => "IntegerReply: $integer";
}

Extends

RedisReply > _OneLineReply > IntegerReply

Properties

final bool done #

inherited from _OneLineReply

Specifies if this reply has been fully received.

bool get done => _dataConsumer.done;

final int integer #

Returns the integer received with this reply.

int get integer => int.parse(_getLine());

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "IntegerReply: $integer";