sendCommand static method

Future<TCICCommandRepModel?> sendCommand(
  1. CommandBody body
)

Implementation

static Future<TCICCommandRepModel?> sendCommand(CommandBody body) async {

  var data = await HttpClient.post<TCICCommandRepModel, CommandBody>(
    api: "/v1/member/command",
    body: body,
    fromJson: TCICCommandRepModel.fromJson,
  );

  return data;
}