toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (description != null) 'description': description!,
  if (editors != null) 'editors': editors!,
  if (namedRangeId != null) 'namedRangeId': namedRangeId!,
  if (protectedRangeId != null) 'protectedRangeId': protectedRangeId!,
  if (range != null) 'range': range!,
  if (requestingUserCanEdit != null)
    'requestingUserCanEdit': requestingUserCanEdit!,
  if (tableId != null) 'tableId': tableId!,
  if (unprotectedRanges != null) 'unprotectedRanges': unprotectedRanges!,
  if (warningOnly != null) 'warningOnly': warningOnly!,
};