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