buildPing static method Null safety

Command buildPing()

Implementation

static Command buildPing() {
  return Command(
      cmd: CommandString.ping,
      payload: {'id': DateTime.now().millisecondsSinceEpoch});
}