Deserializes this command from the value generated by serialize.
Command.deserialize(Map<String, String> json) : timeout = Duration(milliseconds: int.parse(json['timeout']));