toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (name != null) 'name': name!,
      if (sharingWithGoogleAnySalesEnabled != null)
        'sharingWithGoogleAnySalesEnabled': sharingWithGoogleAnySalesEnabled!,
      if (sharingWithGoogleAssignedSalesEnabled != null)
        'sharingWithGoogleAssignedSalesEnabled':
            sharingWithGoogleAssignedSalesEnabled!,
      if (sharingWithGoogleProductsEnabled != null)
        'sharingWithGoogleProductsEnabled': sharingWithGoogleProductsEnabled!,
      if (sharingWithGoogleSupportEnabled != null)
        'sharingWithGoogleSupportEnabled': sharingWithGoogleSupportEnabled!,
      if (sharingWithOthersEnabled != null)
        'sharingWithOthersEnabled': sharingWithOthersEnabled!,
    };