commandJSON method

Future<void> commandJSON(
  1. Map command
)

sends a command specified by a JSON object to mpv

Implementation

Future<void> commandJSON(Map command) {
  return socket.freeCommand(jsonEncode(command));
}