RPCError class

Implemented types

Constructors

RPCError(String? callingMethod, int code, [dynamic message, Map? data])
RPCError.withDetails(String? callingMethod, int code, String message, {Object? details})

Properties

callingMethod String?
final
code int
final
data Map?
final
details String?
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Return a map representation of this error suitable for conversion to json.
toString() String
A string representation of this object.
override

Operators

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

Static Methods

parse(String callingMethod, dynamic json) RPCError