core.Map<core.String, core.dynamic> toJson() => { if (actionMethodName != null) 'actionMethodName': actionMethodName!, if (parameters != null) 'parameters': parameters!, };