isLogin property Null safety

bool isLogin

Implementation

bool get isLogin => cmd == CommandString.login;