diff --git a/lib/src/json_hub_protocol.dart b/lib/src/json_hub_protocol.dart index 676aa94..1c74acf 100644 --- a/lib/src/json_hub_protocol.dart +++ b/lib/src/json_hub_protocol.dart @@ -181,8 +181,7 @@ extension InvocationMessageExtensions on InvocationMessage { static InvocationMessage fromJson(Map json) { return InvocationMessage( target: json['target'] as String?, - arguments: - (json['arguments'] as List?)?.map((item) => item as Object).toList(), + arguments: json['arguments'] as List?, headers: json['headers'] as Map?, invocationId: json['invocationId'] as String?, streamIds: json['streamIds'] as List?,