InvalidStateError constructor

InvalidStateError(
  1. dynamic status
)

Implementation

InvalidStateError(dynamic status) {
  code = 2;
  name = 'INVALID_STATE_ERROR';
  this.status = status;
  message = 'Invalid status: ${status.toString()}';
}