ServiceError constructor Null safety

ServiceError(
  1. String message,
  2. {String serviceName = 'ServiceError'}
)

Implementation

ServiceError(String message, {this.serviceName = 'ServiceError'})
    : super(message);