CommandDeserializerCallback typedef Null safety

Command CommandDeserializerCallback (
  1. Map<String, String> params
)

Signature for functions that deserialize a JSON map to a command object.

Implementation

typedef CommandDeserializerCallback = Command Function(Map<String, String> params);