CallParams class

Call parameters for API invocation

Constructors

CallParams({required CallType callType, required String serviceName, String? methodName, String? memberName, List? args, String? instanceId, InstanceType? instanceType, String? traceId, bool? waitResult})
const

Properties

args List?
Arguments for the call
final
callType CallType
Type of API call
final
hashCode int
The hash code for this object.
no setterinherited
instanceId String?
Instance identifier
no setter
instanceType InstanceType?
Type of instance creation
no setter
memberName String?
Name of the member to access
final
methodName String?
Name of the method to invoke
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceName String
Name of the service to call
final
traceId String?
Trace identifier for request tracking
no setter
waitResult bool?
Whether to wait for the result
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert CallParams to JSON format
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map args) CallParams
Create CallParams from JSON data