CockpitRemoteSessionEndpointResponse.binaryFile constructor

const CockpitRemoteSessionEndpointResponse.binaryFile(
  1. String sourceFilePath, {
  2. int statusCode = HttpStatus.ok,
  3. String contentType = 'application/octet-stream',
})

Implementation

const CockpitRemoteSessionEndpointResponse.binaryFile(
  String sourceFilePath, {
  int statusCode = HttpStatus.ok,
  String contentType = 'application/octet-stream',
}) : this._(
       statusCode: statusCode,
       contentType: contentType,
       sourceFilePath: sourceFilePath,
     );