CustomException constructor

const CustomException({
  1. required int status,
  2. required String details,
})

Implementation

const CustomException({required this.status, required this.details});