InvalidOperationException constructor

InvalidOperationException({
  1. String? type,
  2. String? message,
})

Implementation

InvalidOperationException({String? type, String? message})
    : super(type: type, code: 'InvalidOperationException', message: message);