TransmitStatusDto constructor

TransmitStatusDto(
  1. TransmitStatus? status, {
  2. String? message,
  3. int? completedRecords,
  4. int? totalRecords,
  5. bool? userInitiated,
})

Implementation

TransmitStatusDto(TransmitStatus? status,
    {String? message,
    int? completedRecords,
    int? totalRecords,
    bool? userInitiated}) {
  this._transmitStatus = status;
  if (message == null)
    this.message = getDefaultMessage(status);
  else
    this.message = message;
  this.completedRecords = completedRecords;
  this.totalRecords = totalRecords;
  this.userInitiated = userInitiated;
  this.isDeterminate = true;
}