toRpcJson method
Implementation
@override
JsonMap toRpcJson() => {
"fields": (fields != null
? fields!.where((e) => allowedFields.contains(e))
: allowedFields)
.map((e) => e.argName)
.toList(),
if (ids != null && ids!.isNotEmpty) "ids": ids!.toRpcJson(),
};