BridgeMessageInfo constructor
BridgeMessageInfo({
- int? requestId,
- String? operationKey,
- Map<
String, List< ? arguments,int> > - List<
int> ? result, - BridgeEventInfo? event,
- BridgeException? exception,
- BridgeErrorCode? errorCode,
- String? errorMessage,
Implementation
factory BridgeMessageInfo({
$core.int? requestId,
$core.String? operationKey,
$core.Map<$core.String, $core.List<$core.int>>? arguments,
$core.List<$core.int>? result,
BridgeEventInfo? event,
BridgeException? exception,
BridgeErrorCode? errorCode,
$core.String? errorMessage,
}) {
final $result = create();
if (requestId != null) {
$result.requestId = requestId;
}
if (operationKey != null) {
$result.operationKey = operationKey;
}
if (arguments != null) {
$result.arguments.addAll(arguments);
}
if (result != null) {
$result.result = result;
}
if (event != null) {
$result.event = event;
}
if (exception != null) {
$result.exception = exception;
}
if (errorCode != null) {
$result.errorCode = errorCode;
}
if (errorMessage != null) {
$result.errorMessage = errorMessage;
}
return $result;
}