Command constructor

const Command({Duration timeout })

Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.

Implementation

const Command({ Duration timeout })
    : timeout = timeout ?? const Duration(seconds: 5);