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