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