GrpcError.custom constructor

const GrpcError.custom(
  1. int code, [
  2. String? message,
  3. List<GeneratedMessage>? details,
  4. Object? rawResponse,
  5. Map<String, String>? trailers = const {},
])

Custom error code.

Implementation

const GrpcError.custom(this.code,
    [this.message, this.details, this.rawResponse, this.trailers = const {}]);