AppException.methodNotAllowed constructor

AppException.methodNotAllowed(
  1. [String message = 'Method Not Allowed']
)

Implementation

AppException.methodNotAllowed([this.message = 'Method Not Allowed'])
    : code = HttpStatus.methodNotAllowed;