Map<String, Object?> toJson() => { if (format != null) 'format': format, 'name': name, 'value': value, 'variablesReference': variablesReference, };