Command.deserialize constructor

Command.deserialize(Map<String, String> json)

Deserializes this command from the value generated by serialize.

Implementation

Command.deserialize(Map<String, String> json)
    : timeout = Duration(milliseconds: int.parse(json['timeout']));