GrpcError.invalidArgument constructor

const GrpcError.invalidArgument([
  1. String? message,
  2. List<GeneratedMessage>? details,
  3. Object? rawResponse
])

Client specified an invalid argument. Note that this differs from failedPrecondition. invalidArgument indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).

Implementation

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