postRequest method Null safety

Future postRequest(
  1. String command,
  2. [dynamic params]
)

Implementation

Future<dynamic> postRequest(String command, [params]) => _client.send(
      _handler.buildGeneralRequest(HttpMethod.httpPost, command, params),
      (response) => _handler.parseGeneralResponse(
        response,
        (elementId) => getElement(elementId, this),
      ),
    );