NotFoundException constructor

const NotFoundException([
  1. Map<String, dynamic>? data,
  2. String detail = ''
])

Implementation

const NotFoundException([Map<String, dynamic>? data, String detail = ''])
    : super(HttpStatus.NOT_FOUND,
          'Not Found${detail != '' ? ': ' : ''}$detail', data);