RpcException class

Exception class for RPC errors.

Implemented types
Mixed-in types

Constructors

RpcException(String message, String pattern, {String? id})
Constructor for the RpcException class.

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
Optional identifier for the RPC error.
final
message String
The error message.
final
pattern String
The pattern associated with the RPC error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? message, String? pattern, String? id}) RpcException
Creates a copy of the current RpcException with optional new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the object to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited