GalileoHttpException.methodNotAllowed constructor Null safety

GalileoHttpException.methodNotAllowed(
  1. {String message = '405 Method Not Allowed'}
)

Throws a 405 Method Not Allowed error.

Implementation

factory GalileoHttpException.methodNotAllowed({String message = '405 Method Not Allowed'}) =>
    GalileoHttpException(null, message: message, statusCode: 405);